• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Differences between -isEqual: and -isEqualTo:?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Differences between -isEqual: and -isEqualTo:?
      • From: Dave DeLong <email@hidden>
  • Prev by Date: Drawing an NSImage in a CALayer
  • Next by Date: Re: Differences between -isEqual: and -isEqualTo:?
  • Previous by thread: Re: Drawing an NSImage in a CALayer
  • Next by thread: Re: Differences between -isEqual: and -isEqualTo:?
  • Index(es):
    • Date
    • Thread