So, it’s trivial to create a settings stylesheet on the iPhone. The problem is that they add a lot of code, since your settings have a gamut of options / stylized cells. One section may have a checklist, the other may contain cells with information on accessories, and the other may be shortcuts with UITextFields.
My question here is what is the cleanest way to create this table. Usually you create a subclass of UITableViewController and then subclass UITableViewCell for each type of cell and write helper classes for these cells? If you have a stylesheet with 4 sections, all types of cells, will you load 4 tables into a table and import 4 class files? Programmatically set the frame, views, text fields and mark them for later access?
The answer to this question is probably subjective, but I would like to know what you, experts, consider the most elegant approach to this general problem.
objective-c iphone cocoa-touch
Coocoo4cocoa
source share