Am 22.07.2005 um 20:35 schrieb Richard Frith-Macdonald:

I don't know of any -isEqualTo: method.

You find it in Mac OS X's DevTools documentation listed under Cocoa, language Obj-C and with a parent of NSObject. Clicking on the entry gives you almost the same description as NSObject's -isEqual:.

Nearer observations shows, however, it's a method/function of Cocoa's scripting suite. My foul, sorry for the noise.


My understanding is that the variants with the class name in them are intended as optimisations ... where the method may assume that what it gets as an argument is a member of the correct class, thus avoiding to need to check what class the argument belongs to.

This makes at least _some_ sense. :-)


Thanks,
Markus

- - - - - - - - - - - - - - - - - - -
Dipl. Ing. Markus Hitter
http://www.jump-ing.de/






_______________________________________________
Gnustep-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnustep-dev

Reply via email to