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: Stefan Pantos <email@hidden>
- Date: Fri, 27 Feb 2004 12:29:51 +0000
Hi,
As I under it you don't have to implement all the super classes
methods only the primitive ones. Which in the case of NSDictionary are
{- (unsigned)count; - (NSEnumerator *)keyEnumerator; -
(id)objectForKey:(id)aKey;} And any creation methods which you want to
be available. Is this correct?
So in the example for MonthArray at
http://developer.apple.com/documentation/Cocoa/Conceptual/Foundation/
Concepts/ClassClusters.html#//apple_ref/doc/uid/20000262 you could call
say initWithContentsOfFile: but it wouldn't necessarily work? There is
no real way of know if a method is primitive or not till you try it
unless they structure the interface is a way to make it obvious?
Thanks,
Stefan Pantos
"Education is what remains after all school learning has been forgotten"
_______________________________________________
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.