Re: Extending NSMutableDictionary what am I doing wrong?
Re: Extending NSMutableDictionary what am I doing wrong?
- Subject: Re: Extending NSMutableDictionary what am I doing wrong?
- From: Ondra Cada <email@hidden>
- Date: Thu, 26 Feb 2004 14:30:09 +0100
Stefan,
On Thursday, Feb 26, 2004, at 14:04 Europe/Prague, Stefan Pantos wrote:
I think I must be, being really stupid
Not really, just uninformed ;) Many of the basic Foundation classes,
dictionaries including, are so called class clusters, and clusters
cannot be easily subclassed. Study class clusters in the docs, the desc
ription is pretty thorough and understandable.
Meatime, consider whether a category would be sufficient for the
extension you need: if so, just use it. Categories work with class
clusters like a charm, and using them is *WAYS* easier than subclassing
anyway.
---
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.