• 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
Re: Differences between -isEqual: and -isEqualTo:?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Differences between -isEqual: and -isEqualTo:?


  • Subject: Re: Differences between -isEqual: and -isEqualTo:?
  • From: Jim Correia <email@hidden>
  • Date: Thu, 18 Sep 2008 19:17:01 -0400

On Sep 18, 2008, at 6:23 PM, Rick Mann wrote:

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.

Also note which header that category lives in - NSScriptWhoseTests.h. That provides valuable information - this has something to do with Cocoa Scripting and may not be for general use.


Even with Cocoa's remarkably consistent and good naming conventions, it is not generally possible to encode everything you might need to know about a method in its name. Fortunately, we also have API and conceptual doc.

Anyone who was around during the "description forthcoming" days of Mac OS X developer documentation can attest that the situation today is much, much better than in days past.

Failure to make effective use of the documentation is only going to put you at a disadvantage.

Jim

_______________________________________________

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


References: 
 >Differences between -isEqual: and -isEqualTo:? (From: Rick Mann <email@hidden>)
 >Re: Differences between -isEqual: and -isEqualTo:? (From: Dave DeLong <email@hidden>)
 >Re: Differences between -isEqual: and -isEqualTo:? (From: Charles Srstka <email@hidden>)
 >Re: Differences between -isEqual: and -isEqualTo:? (From: Rick Mann <email@hidden>)

  • Prev by Date: Re: Drawing an NSImage in a CALayer
  • Next by Date: Re: Differences between -isEqual: and -isEqualTo:?
  • Previous by thread: Re: Differences between -isEqual: and -isEqualTo:?
  • Next by thread: Re: Differences between -isEqual: and -isEqualTo:?
  • Index(es):
    • Date
    • Thread