[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: isEqual: and hash in NSDate
From: |
Nat! |
Subject: |
Re: isEqual: and hash in NSDate |
Date: |
Sat, 23 Jul 2005 11:19:45 +0200 |
Am 22.07.2005 um 19:03 schrieb Markus Hitter:
Since it's interesting for coding in GNUstep/Cocoa as well: Does
anybody know what's the difference between the members of these
trios? Why does -isEqualTo: exist at all and why doesn't NSDate
simply override -isEqual: instead of introducing -isEqualToDate:?
Well, isEqual: takes id as its parameter and isEqualToDate: NSDate *.
So obviously the comparison code of the isEqualToDate: method can be
simpler.
Ciao
Nat!
Jedenfalls sind zehn Fehlstarts hintereinander [E. Fuchs]
ein sehr interessanter Beweis
fuer unsere Theorie
von der natuerlichen Ueberlegenheit des Dezimalsystems
Re: isEqual: and hash in NSDate, Jeremy Bettis, 2005/07/22