Re: Wisdom of overriding isEqual:
Re: Wisdom of overriding isEqual:
- Subject: Re: Wisdom of overriding isEqual:
- From: Ondra Cada <email@hidden>
- Date: Thu, 11 Mar 2004 00:59:07 +0100
Wade,
On Thursday, Mar 11, 2004, at 00:26 Europe/Prague, Wade Tregaskis wrote:
...since if the argument is an NSString, it can't be equal to the
receiver, obviously
Ummm... obviously? I *DO NOT* advocate it is right, but I can well
imagine a very sensible design in which, say, an NSAttributedString
would be truly "equal" to a NSString of the same contents, attributes
ignored...
I don't want to argue, you are most probably right. Only I wanted to
point out that, at least in principle, different classes *may* be equal.
---
Ondra Hada
OCSoftware: email@hidden
http://www.ocs.cz
private email@hidden
http://www.ocs.cz/oc
_______________________________________________
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.