discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Need help understanding subclassing issue


From: Pierre Bz
Subject: Re: Need help understanding subclassing issue
Date: Fri, 20 Feb 2009 14:22:49 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

hns <hns <at> computer.org> writes:
> 
> On 19 Feb., 22:35, Pierre Bz <p...@ogopogo.biz> wrote:
> > I am having problems with writing a subclass.
> > .....
> 
> To give a short answer: you can't easily subclass NSDictionary.
> ....
> 
> How to solve it:
> * either reduce your model to use only a category of NSDictionary
> * redesign your "is a dictionary" class relation to a "has a
> dictionary". i.e. subclass OGBanner from NSObject and provide an
> NSDictionary instance variable
> 

Thanks.

It would seem that my first problem is I'm not looking at the right
documentation.  NSDictionary in the GNUstep base class reference: 

http://www.gnustep.org/resources/documentation/Developer/Base/Reference/Base.html

Has no indication of it being a cluster, nor of the methods a subclass must
implement. Only the designated initialization method is indicated.

Is there a canonical source of reference documentation 
I should be looking at instead?







reply via email to

[Prev in Thread] Current Thread [Next in Thread]