Re: Wisdom of overriding isEqual:
Re: Wisdom of overriding isEqual:
- Subject: Re: Wisdom of overriding isEqual:
- From: Dustin Voss <email@hidden>
- Date: Thu, 11 Mar 2004 11:54:11 -0800
On 10 Mar, 2004, at 12:40 PM, Dustin Voss wrote:
On 10 Mar, 2004, at 8:26 AM, Bill Cheeseman wrote:
on 2004-03-10 7:33 AM, Patrick Machielse at email@hidden wrote:
Recently I've been thinking about overriding the isEqual: message on
standard Cocoa classes, and I'm curious if there is any 'danger' in
doing
so.
There is new documentation on Apple's Developer Documentation site
showing
how to override -isEqual: and how to write your own -isEqualTo...:
methods
in your own subclasses, with sample code. Sorry, I've forgotten the
URL, but
it shouldn't be hard to find.
I think you are referring to
<http://developer.apple.com/documentation/Cocoa/Conceptual/
CocoaObjects/Articles/Introspection.html>.
Just a note, but from reading the above Introspection document, I see
no signs that the default implementation of isEqual: calls isEqualToX:
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.