Inserting table on part of a view using IB?
Hi,
I am new to iPhone development, having just gone thru the Mark-LaMarche book.
The application is a tab-bar app, with each of the tabs in turn linking to a navigation controller, each in their own nib.
The problem I am facing is this. On the Navigation Controllers that are extensions of UIViewControllers (let's call one myNavRootController), I still have to insert a table on PART of the view.
So I created another extension of a UITableViewController (let's call it mySmallTableController), and then dropped a Table View using the Interface Builder on top of the View associated with myNavRootController. How do I link this Table to mySmallTableController?
Alternatively, I dropped a Table View Controller into the NIB, and linked its class to mySmallTableController. This controller has its own Table View. How do I make this table view show up on the View of the myNavRootController?
Your help much appreciated. I am heavily relying on IB, since my Objective-C skills are nascent.
The only alternative I can think of is to make the whole myNavRootController View a grouped table view with two sections, show the rows in the top section, and make the bottom section one giant row where I can place other controls as needed by implementing a custom cell view from a new nib.
Thank you!
|