On Jun 13, 2015, at 14:00 , Jonathan Schleifer <[email protected]>
wrote:
>
> Also, since there's no real documentation yet, what's the difference between
> __nullable and nullable and __nonnull and nonnull?
It’s documented here:
https://developer.apple.com/library/mac/releasenotes/DeveloperTools/RN-Xcode/Chapters/xc6_release_notes.html#//apple_ref/doc/uid/TP40001051-CH4-SW9
<https://developer.apple.com/library/mac/releasenotes/DeveloperTools/RN-Xcode/Chapters/xc6_release_notes.html#//apple_ref/doc/uid/TP40001051-CH4-SW9>
under the heading “Objective-C Language Enhancements”. Basically you can leave
out the double-underscore when it’s a property attribute AND when it
immediately follows a left parenthesis that encloses a type (so method return
values, and method property types). This is not precisely how the above
document expresses it. I remember reading about the statement in terms of
parentheses, but I don’t recall where that was, some other release notes
perhaps, or perhaps a dev forums post.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Objc-language mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/objc-language/archive%40mail-archive.com
This email sent to [email protected]