I’ve made a uitableview before but with minimal cells. I was wondering how to populate the table with 100 plus names, and each have and individual detail view according to their name.
Also, searchable. Thank you.
Note: this data is copy and pasted from a website. I currently have it in an excel document.
The easiest is to make a
plistfile from the data with the followingNSArrayandNSDictionaryformat:Add this file to your application. When you want to access it, you do this by
Now you have an
NSArraycontainingNSDictionaries, each of which has the information you need for yourUITableView.All you need to do now is to populate the
UITableViewusing this array. Do this by implementing these two methods: