I don’t know if there is an easy way to implement this, or I need to implemente the algorithm by myself.
This is what I have (NSDictionary):
{
14 = (
"M"
);
15 = (
"H"
);
16 = (
"F",
"G"
);
And this is what I want (NSArray):
{
14,
"M",
15,
"H"
...
}
Im looking for an easy way, in case I need to do the algorithm I’ll do by myself
You could iterate over the
NSDictionaryand add the keys and values like this: