ios - How do I remove only one of the many values assigned to a key in a Dictionary? -


i have dictionary array of potential values key. want able remove 1 of values (according selection made user), examples find deal dictionaries don't contain array.

thanks!

so have nsmutabledictionary values nsmutablearray objects items nsstring objects, right? if so,

  1. retrieve array using dictionary key

    nsmutablearray *mutablearray = mutabledictionary[key];

  2. then delete object

    [mutablearray removeobject:stringobject];


Comments

Popular posts from this blog

c - Calling a function within a loop -

How i fill combobox items in Radgridview manually using in vb.net -

sql - Transaction With db context in C# -