• 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
(Mutable)OrderedDictionary
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

(Mutable)OrderedDictionary


  • Subject: (Mutable)OrderedDictionary
  • From: email@hidden
  • Date: Wed, 24 Jul 2002 02:24:40 -0400

To make a short story long, I have developed an ordered dictionary, but this line of code:

NSMutableDictionary* dict = [NSMutableDictionary dictionaryWithDictionary: orderedDict];

gives this runtime error:

*** Uncaught exception: <NSInvalidArgumentException> *** -[NSPlaceholderMutableDictionary initWithObjects:forKeys:count:]: attempt to insert nil value

I figured that the orderedDict would be asked for its entries using the normal methods (since the primitives are overridden), but apparently I was wrong. What do I need to do in order for this ordered dictionary to work properly (if anyone needs the code files, I will send them)?
_______________________________________________
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: (Mutable)OrderedDictionary
      • From: email@hidden
  • Prev by Date: what does signal 10 (SIGBUS) mean?
  • Next by Date: Re: (Mutable)OrderedDictionary
  • Previous by thread: RE: what does signal 10 (SIGBUS) mean?
  • Next by thread: Re: (Mutable)OrderedDictionary
  • Index(es):
    • Date
    • Thread