Re: iPhone NavController within TabBarController (nested table views)
Re: iPhone NavController within TabBarController (nested table views)
- Subject: Re: iPhone NavController within TabBarController (nested table views)
- From: Luke Hiesterman <email@hidden>
- Date: Sun, 04 Oct 2009 16:53:31 -0700
Yes, you need a nav controller to be the view controller for one of
your tabs. This case is explicitly covered in the iPhone programming
guide at developer.apple.com. Check it out.
Luke
Sent from my iPhone.
On Oct 4, 2009, at 3:27 PM, Trygve Inda <email@hidden>
wrote:
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
_______________________________________________
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