Reputation: 19
I am a newbie in xcode developing. I try to create a table view with prototype cells. After I create the table view and add details in the cells , when I run the app in the simulator the information on the cells don't appear. Why? Please explain me in detail. Is there a step by step tutorial that can fix my problem?
Upvotes: 1
Views: 6911
Reputation: 774
I know its late, but anyone in 2017 still ripping their hair out trying to solve this problem, make sure you are using the correct "identifier" field in the Interface builder to provide your reusable identifier. Interface builder has an "accessibility identifier" and a "reusable identifier" both conveniently labelled in the interface builder as "identifier" which can easily be confused.
Upvotes: 2
Reputation: 11
you probably forget to put Cell id: Make sure you have used similar Cell ID for your prototype cell in "Show Attribute inspector" and in your implementation in method "(UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath"
Upvotes: 1