M multinode macrumors regular Original poster Feb 4, 2011 150 0 Jun 14, 2011 #1 I can't find any way to add a key value pair to an NSDictionary. And I can't find any way to remove a given key value pair from an NSDictionary. What am I missing please? Last edited: Jun 14, 2011
I can't find any way to add a key value pair to an NSDictionary. And I can't find any way to remove a given key value pair from an NSDictionary. What am I missing please?
robbieduncan Moderator emeritus Jul 24, 2002 25,611 893 Harrogate Jun 14, 2011 #2 NSDictionary is an immutable class. If you want to change the contents use a NSMutableDictionary.
M multinode macrumors regular Original poster Feb 4, 2011 150 0 Jun 14, 2011 #3 How stupid ... of course ... Thanx Robbie. robbieduncan said: NSDictionary is an immutable class. If you want to change the contents use a NSMutableDictionary. Click to expand...
How stupid ... of course ... Thanx Robbie. robbieduncan said: NSDictionary is an immutable class. If you want to change the contents use a NSMutableDictionary. Click to expand...