PDA

View Full Version : About "AdvancedTableViewCells"




mikezang
Jul 4, 2010, 03:55 AM
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.