On 16/02/2012, at 4:39 AM, Quincey Morris wrote:

> There are, of course, potentially, objects that aren't isEqual to themselves.


Surely the first thing that -isEqual: does is to trivially accept the case 
where self == otherObject? Certainly when I've implemented -isEqual: I do that 
as a matter of course. It's only when the addresses differ that you then look 
deeper to see whether they are equal in some other sense.

--Graham


_______________________________________________

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