> I’m getting the Warning - "Pointer is missing a nullability type specifier > (_Nonnull, _Nullable, or _Null_unspecified)”
You probably added a “nullable” or “__nullable” attribute somewhere else in that header. If you do that, the compiler enables nullability and will then (by default) require _every_ pointer parameter to have a nullability attribute. If you want to add nullability annotations in declarations, you should bracket the header with NS_ASSUME_NONNULL_BEGIN and NS_ASSUME_NONNULL_END. These are macros that will enable nullability but tell the compiler to assume _Nonnull if no attribute is given. These macros are used in all the Cocoa headers. —Jens _______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (Xcode-users@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/xcode-users/archive%40mail-archive.com This email sent to arch...@mail-archive.com