I have created a application which will list the names . Whenever the name is tapped , I want to return the age of the particular name. I am adding the names and age dynamically. If I use Key-Value pair, it will be easier to retrieve the value I guess. Can anyone tell me how to use the KeyValue(NSDictionary) pair here ?
Share
You can access the selected values like this.
Note: If you use key-value coding your keys(names) should be unique.