Re: Differences between -isEqual: and -isEqualTo:?
Re: Differences between -isEqual: and -isEqualTo:?
- Subject: Re: Differences between -isEqual: and -isEqualTo:?
- From: Rick Mann <email@hidden>
- Date: Thu, 18 Sep 2008 15:23:01 -0700
On Sep 18, 2008, at 15:15:11, Charles Srstka wrote:
According to the documentation, isEqualToString: is faster when you
know both objects are strings. I'm not sure what isEqualTo: is for,
though.
Thanks to all for the answers.
I thought isEqualTo was a method on NSObject, but I realize now it's
part of the NSComparisonMethods Protocol.
The whole thing strikes me as a bit messy.
--
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