I’m starting to add the new Objective-C nullability indicators (nullable, 
nonnull, #pragma clang assume_nonnull, etc.) to my framework's headers. But how 
can I do so in a backward-compatible way, so that clients building with earlier 
versions of Xcode can use the headers without errors?

I’m guessing there’s a Clang __has_feature(…) parameter that can be used to 
test for this, but it’s not mentioned in the release notes. Anyone know what it 
might be?

—Jens
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/xcode-users/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to