• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Extending NSMutableDictionary what am I doing wrong?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Follow-Ups:
    • Re: Extending NSMutableDictionary what am I doing wrong?
      • From: Ben Dougall <email@hidden>
    • Re: Extending NSMutableDictionary what am I doing wrong?
      • From: Sherm Pendley <email@hidden>
    • Re: Extending NSMutableDictionary what am I doing wrong?
      • From: Ben Dougall <email@hidden>
References: 
 >Re: Extending NSMutableDictionary what am I doing wrong? (From: Ben Dougall <email@hidden>)

  • Prev by Date: NSMovie and a disabled screensaver?
  • Next by Date: Re: Extending NSMutableDictionary what am I doing wrong?
  • Previous by thread: Re: Extending NSMutableDictionary what am I doing wrong?
  • Next by thread: Re: Extending NSMutableDictionary what am I doing wrong?
  • Index(es):
    • Date
    • Thread