Re: Subclassing NSMutableDictionary
Re: Subclassing NSMutableDictionary
- Subject: Re: Subclassing NSMutableDictionary
- From: Shawn Erickson <email@hidden>
- Date: Tue, 29 Nov 2005 10:12:11 -0800
On 11/29/05, David Alter <email@hidden> wrote:
> I'm sure I'm missing something basic here but it is not hitting me. I
> want to subclass NSMutableDictionary. My init method wants to
> populate this dictionary with some data. But my sub class does not
> like it when I do this.
Generally you don't subclass things like NSMutableDictionary and at
the moment I don't think we know enough about your end goal to make a
good recommendation on the use of subclass.
Anyway the Cocoa collection classes are made up of what are called
"class clusters" and such clusters have special sub-classing
requirements. See the following documentation..
<http://developer.apple.com/documentation/Cocoa/Conceptual/CocoaObjects/Articles/ClassClusters.html>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden