I recently started a new project using iOS 5 with UIStoryBoards (awesome feature;)).
Especially the ability to create static cells in a tableView is great. But here starts my problem. I want to customize these Cells by using a subclass of UITableViewCell and not have to customize the cell in every tableView with static content.
First I thought all that was needed was to set the class of the TableViewCell to MyCustomClass
but the design is not used.
Long story short:
Is there a way to use subclasses of UITableViewCell as static content in a UIStoryboard?
How does the storybord instantiate the cells? (its not init() or initWithStyle())
Thank you in advance;)
I don’t really know whether there is a way to use custom cell in interface builder (probably it isn’t possible). UITableViewCells are getting initiated via initWithCoder: method, just like any other object that conforms to NSCoding protocol.