Differences between -isEqual: and -isEqualTo:?
Differences between -isEqual: and -isEqualTo:?
- Subject: Differences between -isEqual: and -isEqualTo:?
- From: Rick Mann <email@hidden>
- Date: Thu, 18 Sep 2008 14:57:44 -0700
I see that NSObject (and its protocol) define -isEqual: and -
isEqualTo:. What's the difference? Why does something like NSArray's -
indexOfObject: use -isEqual: and not -isEqualTo:? So that someone can
redefine these for an existing class? Why does -isEqualTo: even exist?
--
Rick
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden