One must be blind not to see the difference with the above question.
I have a NSArray like
[
{
"NAME": "MyProduct1",
"UUID": 4
},
{
"NAME": "MyProduct2",
"UUID": 10
},
{
"NAME": "MyProduct3",
"UUID": 18
},
...
]
Now with a specific ID number I would like to get a dictionary containing only the concerned product. So with ID=18 it would be :
{
"NAME": "MyProduct3",
"UUID": 18
}
I'm trying to find an elegant solution, considering each UUID is unique in the array.