Re: Subclassing dictionaries?
Re: Subclassing dictionaries?
- Subject: Re: Subclassing dictionaries?
- From: Wade Tregaskis <email@hidden>
- Date: Thu, 4 Sep 2003 23:18:56 +1000
What I'd like to do is subclass a dictionary, so that it has a method
where
it can receive a sort key...
Whenever you start with an aim like that, know that you're most likely
talking about extending a class, not subclassing it. Check out
categories in the ObjC language guide. In normal cases that would be
what you want, and I presume you could still use categories on an
abstract class like the NS collection classes.
Wade Tregaskis
-- Sed quis custodiet ipsos custodes?
_______________________________________________
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.