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

jguru

macrumors member
Original poster
Apr 10, 2008
43
0
So I have been fighting over this for a while.. and currently I basically create a custom UITableViewCell and draw it myself.. like the labels on the UITableViewCell. which isn't that bad.. but really is a pain to code again and again...


Now I am wondering if I create a XIB with just UITableViewCell how can I go abouts using it?

any tips? ideas?
 
You can create a view in its own nib and load it using the API in UINibLoading.h. There will be some complications with this strategy though so read the documentation.

If you create your own tableViewCell subclass that builds itself in code I don't see what's so complicated about that. Then you don't have to code it 'again and again' You've coded it once and that's it.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.