views:

889

answers:

2

Hello,

how can i made an UITableView looks like the Mail.app from iPhone/iPad? With an heading, the time/date in the right top and 3-5 Lines of text as subtitle?

I cant't find anything about this.

Thank's!

+1  A: 

The easiest way is to specify the desired UITableViewCell style in the "cellForRowAtIndexPath:" method of your UITableViewController. The available styles can be found in the documentation for UITableViewCell (see the "– initWithStyle:reuseIdentifier:" section). Simply type "UITableViewCell" in the search field of the documentation section of Xcode for a complete overview.

Run Loop
+2  A: 

This is a great tutorial about creating your own custom UITableViewCell. Work through that and then you should easily be able to tweak the cell layout to what you need.

EddieCatflap
Thank you for this. This tutorial is exactly what i was looking for.
x2on