UITableViewCells loaded from NIB always nil

Posted by Jason B on Stack Overflow See other posts from Stack Overflow or by Jason B
Published on 2010-04-20T15:59:08Z Indexed on 2010/04/20 16:03 UTC
Read the original article Hit count: 290

Filed under:
|
|

I'm trying to create a simple form using a UITableViewController as documented in the Apple Developer Documentation here:

http://developer.apple.com/iphone/library/documentation/UserExperience/Conceptual/TableView_iPhone/TableViewCells/TableViewCells.html

What I'm trying to do is located in the section entitled: "The Technique for Static Row Content"

I've created a couple of UITableViewCells and added them to my nib, but when I try and access them to add them to the UITableView (in the cellForRowAtIndexPath method) they are always null.

It's like they are not being properly loaded from the nib. I've double/triple/quadruple checked my code to make sure I'm doing it exactly as detailed in the docs, but no luck.

Is there something obvious I'm missing here?

Thanks

© Stack Overflow or respective owner

Related posts about cocoa

Related posts about uitableviewcell