Three20 TTTableViewController with TTThumbsTableViewCell
It seems like you should be using TTThumbsViewController for this. However, the example code uses TTThumbsViewController only to control thumb scrolling. How do I configure it to display cells instead?
_________ Original question_________
Has anyone used Three20's source and made a tableview (not fields)?
I am trying to figure out how to insert TTThumbTableViewCell into a table and none of the examples are for tableviewcell classes (table fields only).
If you know how to set up a table to use these cell classes, can you post how you did it?
thanks
a source to share
I didn't really use Three20 myself, but quickly looked through the source code.
It seems like Three20 abstracted away the creation of table view cells in a generic TTTableViewDataSource. It asks for the cell class of the table view to be created via tableView: cellClassForObject :. The TTThumbsDataSource in TTThumbsViewController.m then overrides this to return the TTThumbTableViewCell class for TTPhoto objects.
So, if you are not using TTThumbsViewController, you should use TTThumbsDataSource as the data source for the table view, or create your own similar class.
a source to share