Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

mikezang

macrumors 6502a
Original poster
May 22, 2010
939
41
Tokyo, Japan
There is a sample code in developer.apple, ti introduced three way to show a table view.

I want to know which is the simplest for newbie, and which is the best for performance, and there pros and cons.

Text from readme.txt
Demonstrates several different ways to handle complex UITableViewCells.

IndividualSubviewsBasedApplicaionCell is a cell designed in Interface Builder to display the contents of a cell using individual subviews (image views, labels, etc.)

CompositeSubviewBasedApplicationCell is a cell that uses a custom view to draw all of the components of the cell.

HybridSubviewBasedApplicationCell is a cell that uses a custom view to draw most of the components of the cell while using separate views to handle components that need to animate separately from the rest of the content.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.