• 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: exception in class derived from NSMutableDictionary
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: exception in class derived from NSMutableDictionary


  • Subject: Re: exception in class derived from NSMutableDictionary
  • From: Dylan Adams <email@hidden>
  • Date: Wed, 30 Jul 2003 11:35:28 -0500

Robert G Palmer Jr wrote:

I have a class that I have derived from NSMutableDictionary - solely for the purpose of being able to add items using a custom method. If I execute either of the first two pieces of code, they work fine. If I execute the third, I get an exception on the count method with the following message:

This would be easier to do with a category. NSDictionary is part of a ``class cluster:''

http://developer.apple.com/documentation/Cocoa/Conceptual/Foundation/Concepts/ClassClusters.html
http://www.cocoadev.com/index.pl?ClassClusters

Subclassing a class that is part of a cluster is non-trivial.

dylan
_______________________________________________
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.

References: 
 >exception in class derived from NSMutableDictionary (From: Robert G Palmer Jr <email@hidden>)

  • Prev by Date: NSArray problem for a newbie
  • Next by Date: Re: What's this error mean
  • Previous by thread: exception in class derived from NSMutableDictionary
  • Next by thread: Re: exception in class derived from NSMutableDictionary
  • Index(es):
    • Date
    • Thread