Nullability, Swift and Objective-C

Apple developer:

“…in Swift there’s a strong distinction between optional and non-optional references, e.g. NSView vs. NSView?, while Objective-C represents boths of these two types as NSView *”

Nullability annotations:

“In previous Xcode releases, some Apple frameworks had been specially audited so that their API would show up with proper Swift optionals. Xcode 6.3 supports this for your own code with a new Objective-C language feature: nullability annotations.”

Here’s what you get coming out the other side:

“The Swift code is now cleaner. It’s a subtle change, but it will make using your (Objective-C) framework more pleasant.”