I am trying to recreate the a section of a UITableView that looks like the first section under the Me tab in the Twitter app for the iPhone. I am having trouble creating a UITableViewCell with views underneath it (like Tweets, Following, and Followers) that a user can tap to show another view. Any help or insight into how to achieve this would be great. Thanks.
Share
Make an object subclass of UITableViewCell, and then add whatever UI elements you want to the view.
If the custom cell is supposed to contain certain data, make each variable a property so that it can be easily set from within the UITableViewDatasource.
Do this my creating a new file, and making it a subclass of UITableViewCell. I personally don’t use interface builder at all, so if you want to code it manually, replace the initWithNib function with this one: