I have general question related toUITableview in IOS. I have a UITableview which I is used to store contact information. Till now I have inserted anNSArray object into UITableview to show contacts name. Is it possible to add full contact related structure into UITableview so that I can do action based on the contacts selected. I want to differentiate between the different kind of contacts added in table view. Using NSArray I have only strings that will be not enough to differentiate. Is there any way?
thanks in advance.
Placing multiple
NSDictionaryin aNSArrayis often a good solution. Then you’ll have the tabel position corresponding toNSArrayindex and those key / value combinations you need at your disposal.