Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

arnieterm

macrumors regular
Original poster
Aug 28, 2008
201
0
Hi
Its a newbie question. I have to dynamically generate a collection [key-value pairs]. The keys are "CompanyName", "Phone","Email", "Address".
I have not worked on key value collections before. So if I have a view on the IPhone that contains textfields fr these keys and a button on whose click, I want to add these entries into the collection. The collection size is fixed say of 10 rows.
How can I do it?
From the documentation, I see that NSMutableArray will be used but I am not getting how to assign keys and then values to these keys

Thanks
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.