• 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: 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.


  • Follow-Ups:
    • Re: Extending NSMutableDictionary what am I doing wrong?
      • From: "b.bum" <email@hidden>
References: 
 >Extending NSMutableDictionary what am I doing wrong? (From: Stefan Pantos <email@hidden>)

  • Prev by Date: Re: Extending NSMutableDictionary what am I doing wrong?
  • Next by Date: Re: NSStepper with a time field
  • 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