Can someone exlain the view hierarchy in iphone/ipad development?
I want to know what is the “root” element I need to display a textBox on the screen.
I also would like to know how I can populate a UITableViewController subclass without having to use a NIB.
Is the minimum components is:
Window
UiViewController
UIView
UITextBox
or
Window
UIView
UITextBox
@ Richard J. Ross III
Where do I put myTableView??
Window
myTableView
What type is myTableView?
The minimum components is that, but it is recommended to use the
UIViewController, as it allows you to do some cool stuff withUITableViews,UITabBars, etc. UITableViewController subclass without nib:Then, to use that custom controller:
Sorry for my syntax errors, I wrote this without an IDE (e.g. straight on stackoverflow).