iPhone NavController within TabBarController (nested table views)
iPhone NavController within TabBarController (nested table views)
- Subject: iPhone NavController within TabBarController (nested table views)
- From: Trygve Inda <email@hidden>
- Date: Sun, 04 Oct 2009 22:27:45 +0000
- Thread-topic: iPhone NavController within TabBarController (nested table views)
My root view is a TabBarController with three tabs. Each one gets its view
from a different nib and all is well... The tab controller handles the
load/unload as the user clicks the tabs.
One of these tabs has a tableview in it's view. I would like to add a second
table that is accessed by clicking one cell in the main table (said cell
would have a disclosure triangle).
How do I handle switching the view as the view where the main table resides
is owned and controlled by the master tabbar controller?
So I guess I need a nav controller within the tabbar controller???
How do I set this up?
I have 4 nibs now: Main, tab1, tab2, tab3. Tab one contains the logic for
the table e.g.:
- (UITableViewCell *)tableView:(UITableView *)tableView
cellForRowAtIndexPath:(NSIndexPath *)indexPath
So now I need to add a table2 to be accessed from a cell in table1.
Thanks,
Trygve
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden