- Proposal: SE-NNNN
- Author: Jeff Kelley
- Review Manager: TBD
- Status: Awaiting review
This proposal aims to improve Swift’s compatibility with Objective-C by allowing Objective-C methods to declare nullability for primitives by using sentinel values. By using the format nullable(value)
, the syntax will stay close to existing Objective-C nullability specifiers, as well as serving as inline documentation about the method’s behavior.