• 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: Adding items to NSMutableDictionary
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Adding items to NSMutableDictionary


  • Subject: Re: Adding items to NSMutableDictionary
  • From: Ondra Cada <email@hidden>
  • Date: Wed, 29 Jun 2005 21:36:31 +0200

Hmmmm... just an afterthought...

On 29.6.2005, at 21:21, Ondra Cada wrote:

NSMutableDictionary *properties = [[NSMutableDictionary alloc] init];
[properties setValue:[NSNumber numberWithInt: integer ] forKey:@"word"];


it never send the right value. The only thing I'm ever successful at is using NSStrings.

How can I input other (I assume supported) data types into dictionaries?

Therefore, there's bound to be another problem in your code, Nik.

Named "properties", is perhaps the dictionary serialized/deserialized somehow? If so, check the serialization/deserialization code: that could be the culprit...
---
Ondra Čada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc



_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Adding items to NSMutableDictionary (From: Nik Bauman <email@hidden>)
 >Re: Adding items to NSMutableDictionary (From: j o a r <email@hidden>)
 >Re: Adding items to NSMutableDictionary (From: Ondra Cada <email@hidden>)

  • Prev by Date: Re: Adding items to NSMutableDictionary
  • Next by Date: Re: Attributed Strings, NSTextField, and NSTextView
  • Previous by thread: Re: Adding items to NSMutableDictionary
  • Next by thread: Re: Adding items to NSMutableDictionary
  • Index(es):
    • Date
    • Thread