> On Jan 13, 2017, at 10:43 AM, Ben Kennedy <b...@zygoat.ca> wrote:
> 
> NSObject.h (from which Sean was quoting) begins with NS_ASSUME_NONNULL_BEGIN 
> which, to my understanding, makes everything in the file be non-nullable 
> unless otherwise annotated.

You’re looking at <Foundation/NSObject.h>. But the -isEqual: method is actually 
declared in <objc/NSObject.h>, which does _not_ have the 
NS_ASSUME_NONNULL_BEGIN. (I hadn’t noticed that before.)

So Quincey is actually correct — isEqual: has unspecified nullability, and the 
header is not in error.

—Jens
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to