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



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

Reply via email to