I was thinking, and I'm guessing there were no warnings and errors in Xcode on 
this line of code, that a clean compile would indicate that the header did not 
match the documentation.  Does this make sense?

Sandor

> On Jan 13, 2017, at 12:53, Jens Alfke <j...@mooseyard.com> wrote:
> 
> 
>> On Jan 13, 2017, at 9:46 AM, Sean McBride <s...@rogue-research.com> wrote:
>> 
>> Anyone ever seen nil passed to isEqual:?  Is the SDK declaration maybe wrong?
> 
> Check the class documentation, not just the header. The parameter is declared 
> as:
>    anObject    The object to be compared to the receiver. May be nil, in 
> which case this method returns NO.
> 
> So yes, the parameter should be declared as `nullable`.
> 
> —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/admin.szatmari.net%40gmail.com
> 
> This email sent to admin.szatmari....@gmail.com

_______________________________________________

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