I'm starting to program the iPhone. My first application is a UITableViewController, but now I'm experimenting a bit. The idea is to create a custom layout that looks like this:
Layout:
Image | Button
UICalendar
UITableView
Button | Button
QUESTION 1: As you can see, I would like to add some additional interface elements. All the tutorials I've seen describe the UITableViewController as a single UITableView (no other user interface elements included in the controller). So my question is, is it possible to extend the UITableViewController for such a layout? What is the right way to do this?
QUESTION 2: For the UITableViewController, I do not use the XIB file, but some people do. Why should I use the XIB file when creating the UITableViewController? What are the benefits? What is the best practice?
UPDATE: In fact, I think it has a separate controller for UICalendar (UICalendarController) and UITableView (UITableViewController). I just don’t know how to implement this.
thank.
source
share