LolaRun
LolaRun

Reputation: 5686

how to customize a UITableViewCell? to the core of it

just like in other normal programming languages... we can for example override the OnPaint() of the control... can we do the same in xcode/cocoa touch/objective-c puzzle?

With no disrespect for the people who like it of course, and see that it's a limitless framework.

Upvotes: 0

Views: 193

Answers (2)

vikingosegundo
vikingosegundo

Reputation: 52237

there a few ways of customizing UITabelViewCells. Subclassing is just one.

Table View Programming Guide for iOS
Interessting Chapters:

  • Programmatically Adding Subviews to a Cell’s Content View
  • Loading Custom Table-View Cells From Nib Files
  • Subclassing UITableViewCell

Upvotes: 2

Vladimir
Vladimir

Reputation: 170859

UITableViewCell is a UIView subclass so you can override any UIView methods - including drawRect: method to perform whatever custom drawing you want to do...

Upvotes: 2

Related Questions