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

Re: (Mutable)OrderedDictionary


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

I found that the problem was in my accessor code, and I fix it. The offer to send the files is still up though.

On Wednesday, July 24, 2002, at 02:24 AM, email@hidden wrote:

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.

References: 
 >(Mutable)OrderedDictionary (From: email@hidden)

  • Prev by Date: (Mutable)OrderedDictionary
  • Next by Date: Re: ask about cocoa UI
  • Previous by thread: (Mutable)OrderedDictionary
  • Next by thread: question on disclosure triangle
  • Index(es):
    • Date
    • Thread