Hi guys,
Im in a bit of a problem here..
I got a mutablearray with NSDictionaries inside it in the following format.
Im using Array as Parent because, the positions cant be changed. An Item1 will remain on the top. Hence its easier to load in a tableView. Simply assigning indexPath.row will bring in the required Dictionary.
Thats fine,
A situation has risen where i need to
-- GET THE <Title> that has an <id>5</id>. and i dont know the Array index.
All that is known to me is the <id> thats 5. and I need to get the <title> of that dictionary.
is it possible...? any other models anyone recommending?
using a simple array didnt workout cuz both the Sequence of Titles and their values were differing
Im in a bit of a problem here..
I got a mutablearray with NSDictionaries inside it in the following format.
Code:
<array>
<dictionary>
<Title>FirstTitle</title>
<id>1</id>
</dictionary>
<dictionary>
<title>SecondTitle</title>
<id>5</id>
</dictionary>
</array>
Im using Array as Parent because, the positions cant be changed. An Item1 will remain on the top. Hence its easier to load in a tableView. Simply assigning indexPath.row will bring in the required Dictionary.
Thats fine,
A situation has risen where i need to
-- GET THE <Title> that has an <id>5</id>. and i dont know the Array index.
All that is known to me is the <id> thats 5. and I need to get the <title> of that dictionary.
is it possible...? any other models anyone recommending?
using a simple array didnt workout cuz both the Sequence of Titles and their values were differing