Re: UINavigationController inside a TabBarController
It is but I wanted to have the bar style, like in the Settings. So, there is no way to get a segmented control of that size without overriding the drawing method? -Laurent. -- Laurent Daudelin AIM/iChat/Skype:LaurentDaudelin http://nemesys.dyndns.org Logiciels Nemesys Software laurent.daude...@gmail.com Photo Gallery Store: http://laurentdaudelin.shutterbugstorefront.com/g/galleries On Feb 12, 2010, at 22:10, Roland King wrote: What's the 'style' on the segmented control set to? The 'bar' style is smaller than the 'plain' or 'bordered' styles. On 13-Feb-2010, at 1:54 PM, Laurent Daudelin wrote: Thanks, that was helpful but I had already figured it out. After examining the Recipes sample, which does exactly what I wanted to do, I did notice that the sample didn't have a pre-configured tableview. So, I removed my tableview from the view hierarchy and, in viewDidLoad, I did set the tableview to the view pre-configured in IB. Works perfect! Now, if I could find how to get small UISegmentedControls, life would be good. You know, like in Settings-General, there is a small segmented control for the Location Services. It is small and fits well inside the tableview cell. However, the one I put from IB in my cell looks rather large. Is the only way to have it small by subclassing it and overriding its draw method? -Laurent. -- Laurent Daudelin AIM/iChat/Skype:LaurentDaudelin http://nemesys.dyndns.org Logiciels Nemesys Software laurent.daude...@gmail.com Photo Gallery Store: http://laurentdaudelin.shutterbugstorefront.com/g/galleries On Feb 12, 2010, at 21:11, Kevin Callahan wrote: On Feb 12, 2010, at 8:34 PM, Laurent Daudelin wrote: I'm not sure what I'm missing but I know it must be big. I started the design of a TabBar-style app and now, I want one of the view to be a navigation one. I did drag a UINavigationController to my xib, put it inside the TabBarView and put my tableview under the navigation controller. When I open the window in IB, I can see my tableview inside the nav controller, in the first tab item but when I compile and go, only the navigation view shows up when I select the tab item. I've been banging my head, trying to find what connection or method I missed, I can't find it. Anybody knows? Thanks in advance! might this be helpful? http://www.youtube.com/watch?v=LBnPfAtswgw -Kevin The Red Fantasy : http://www.dobermaneditions.com//en/sheet-music-for-guitar/guitar-solo/p17554733.html The Fourth Stream: http://www.dobermaneditions.com//en/sheet-music-for-guitar/guitar-solo/p17554731.html Three River Moments: http://www.henry-lemoine.com/en/catalogue/rechercheFiche.html?cotage=27461 Accessorizer: http://www.kevincallahan.org/software/accessorizer.html Homepage: http://www.kevincallahan.org/ http://www.xeniamara.com -Laurent. -- Laurent Daudelin AIM/iChat/Skype:LaurentDaudelin http://nemesys.dyndns.org Logiciels Nemesys Software laurent.daude...@gmail.com Photo Gallery Store: http://laurentdaudelin.shutterbugstorefront.com/g/galleries ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/kcall%40mac.com This email sent to kc...@mac.com ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/rols%40rols.org This email sent to r...@rols.org ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: UINavigationController inside a TabBarController
yes set the style to 'bar' On 13-Feb-2010, at 6:08 PM, Laurent Daudelin wrote: It is but I wanted to have the bar style, like in the Settings. So, there is no way to get a segmented control of that size without overriding the drawing method? -Laurent. -- Laurent Daudelin AIM/iChat/Skype:LaurentDaudelin http://nemesys.dyndns.org Logiciels Nemesys Software laurent.daude...@gmail.com Photo Gallery Store: http://laurentdaudelin.shutterbugstorefront.com/g/galleries On Feb 12, 2010, at 22:10, Roland King wrote: What's the 'style' on the segmented control set to? The 'bar' style is smaller than the 'plain' or 'bordered' styles. On 13-Feb-2010, at 1:54 PM, Laurent Daudelin wrote: Thanks, that was helpful but I had already figured it out. After examining the Recipes sample, which does exactly what I wanted to do, I did notice that the sample didn't have a pre-configured tableview. So, I removed my tableview from the view hierarchy and, in viewDidLoad, I did set the tableview to the view pre-configured in IB. Works perfect! Now, if I could find how to get small UISegmentedControls, life would be good. You know, like in Settings-General, there is a small segmented control for the Location Services. It is small and fits well inside the tableview cell. However, the one I put from IB in my cell looks rather large. Is the only way to have it small by subclassing it and overriding its draw method? -Laurent. -- Laurent Daudelin AIM/iChat/Skype:LaurentDaudelin http://nemesys.dyndns.org Logiciels Nemesys Software laurent.daude...@gmail.com Photo Gallery Store: http://laurentdaudelin.shutterbugstorefront.com/g/galleries On Feb 12, 2010, at 21:11, Kevin Callahan wrote: On Feb 12, 2010, at 8:34 PM, Laurent Daudelin wrote: I'm not sure what I'm missing but I know it must be big. I started the design of a TabBar-style app and now, I want one of the view to be a navigation one. I did drag a UINavigationController to my xib, put it inside the TabBarView and put my tableview under the navigation controller. When I open the window in IB, I can see my tableview inside the nav controller, in the first tab item but when I compile and go, only the navigation view shows up when I select the tab item. I've been banging my head, trying to find what connection or method I missed, I can't find it. Anybody knows? Thanks in advance! might this be helpful? http://www.youtube.com/watch?v=LBnPfAtswgw -Kevin The Red Fantasy : http://www.dobermaneditions.com//en/sheet-music-for-guitar/guitar-solo/p17554733.html The Fourth Stream: http://www.dobermaneditions.com//en/sheet-music-for-guitar/guitar-solo/p17554731.html Three River Moments: http://www.henry-lemoine.com/en/catalogue/rechercheFiche.html?cotage=27461 Accessorizer: http://www.kevincallahan.org/software/accessorizer.html Homepage: http://www.kevincallahan.org/ http://www.xeniamara.com -Laurent. -- Laurent Daudelin AIM/iChat/Skype:LaurentDaudelin http://nemesys.dyndns.org Logiciels Nemesys Software laurent.daude...@gmail.com Photo Gallery Store: http://laurentdaudelin.shutterbugstorefront.com/g/galleries ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/kcall%40mac.com This email sent to kc...@mac.com ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/rols%40rols.org This email sent to r...@rols.org ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
UINavigationController inside a TabBarController
I'm not sure what I'm missing but I know it must be big. I started the design of a TabBar-style app and now, I want one of the view to be a navigation one. I did drag a UINavigationController to my xib, put it inside the TabBarView and put my tableview under the navigation controller. When I open the window in IB, I can see my tableview inside the nav controller, in the first tab item but when I compile and go, only the navigation view shows up when I select the tab item. I've been banging my head, trying to find what connection or method I missed, I can't find it. Anybody knows? Thanks in advance! -Laurent. -- Laurent Daudelin AIM/iChat/Skype:LaurentDaudelin http://nemesys.dyndns.org Logiciels Nemesys Software laurent.daude...@gmail.com Photo Gallery Store: http://laurentdaudelin.shutterbugstorefront.com/g/galleries ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: UINavigationController inside a TabBarController
Here's a blog post I wrote last year on how to do this programmatically (which I find much easier to understand than doing it in Interface Builder): http://www.davedelong.com/blog/2009/05/13/adding-uinavigationuitableview-controllers-uitabbarcontroller There's also a sample project and a PDF in my Downloads section. Cheers, Dave On Feb 12, 2010, at 9:34 PM, Laurent Daudelin wrote: I'm not sure what I'm missing but I know it must be big. I started the design of a TabBar-style app and now, I want one of the view to be a navigation one. I did drag a UINavigationController to my xib, put it inside the TabBarView and put my tableview under the navigation controller. When I open the window in IB, I can see my tableview inside the nav controller, in the first tab item but when I compile and go, only the navigation view shows up when I select the tab item. I've been banging my head, trying to find what connection or method I missed, I can't find it. Anybody knows? Thanks in advance! smime.p7s Description: S/MIME cryptographic signature ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: UINavigationController inside a TabBarController
Thanks, Dave. I'll have a look though I would prefer to keep as much the UI into IB. -Laurent. -- Laurent Daudelin AIM/iChat/Skype:LaurentDaudelin http://nemesys.dyndns.org Logiciels Nemesys Software laurent.daude...@gmail.com Photo Gallery Store: http://laurentdaudelin.shutterbugstorefront.com/g/galleries On Feb 12, 2010, at 20:39, Dave DeLong wrote: Here's a blog post I wrote last year on how to do this programmatically (which I find much easier to understand than doing it in Interface Builder): http://www.davedelong.com/blog/2009/05/13/adding-uinavigationuitableview-controllers-uitabbarcontroller There's also a sample project and a PDF in my Downloads section. Cheers, Dave On Feb 12, 2010, at 9:34 PM, Laurent Daudelin wrote: I'm not sure what I'm missing but I know it must be big. I started the design of a TabBar-style app and now, I want one of the view to be a navigation one. I did drag a UINavigationController to my xib, put it inside the TabBarView and put my tableview under the navigation controller. When I open the window in IB, I can see my tableview inside the nav controller, in the first tab item but when I compile and go, only the navigation view shows up when I select the tab item. I've been banging my head, trying to find what connection or method I missed, I can't find it. Anybody knows? Thanks in advance! ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/laurent.daudelin%40gmail.com This email sent to laurent.daude...@gmail.com ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: UINavigationController inside a TabBarController
On Feb 12, 2010, at 8:34 PM, Laurent Daudelin wrote: I'm not sure what I'm missing but I know it must be big. I started the design of a TabBar-style app and now, I want one of the view to be a navigation one. I did drag a UINavigationController to my xib, put it inside the TabBarView and put my tableview under the navigation controller. When I open the window in IB, I can see my tableview inside the nav controller, in the first tab item but when I compile and go, only the navigation view shows up when I select the tab item. I've been banging my head, trying to find what connection or method I missed, I can't find it. Your Navigation Controller must be one of the controllers in the Tab Bar Controller's array of View Controllers. Then, the Navigation Controller's Root View Controller must be the Table View Controller. Is that the structure you have? Possibly there is either a class identity that has not been correctly set, or, there might be a Nib Name that is not correctly set.This stuff is notoriously easy to get wrong . . . In IB's List View inspector, go through each of the Tab Bar's list of View Controllers.Make sure their Class identities are the correct type of View Controller, and make sure that their NIB names (if appropriate) are correct. In a simple experiment, I dragged a Tab Bar Controller into a XIB. I deleted one of the (two) View Controllers from the Tab Bar Controller. Then I dragged a Navigation Controller into the XIB, and moved it into the Tab Bar Controller's hierarchy.But the Navigation Controller's Root View Controller's class identity shows up as a simple UIViewController. I had to select that and specifically set its identity to UITableView Controller. Hope This Helps a Little . . . Cheers, . . . . . . . .Henry = iPhone App Development and Developer Education . . . Visit www.nonatomic-retain.com Mac OSX Application Development, Plus a Great Deal More . . . Visit www.trilithon.com ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: UINavigationController inside a TabBarController
On Feb 12, 2010, at 8:34 PM, Laurent Daudelin wrote: I'm not sure what I'm missing but I know it must be big. I started the design of a TabBar-style app and now, I want one of the view to be a navigation one. I did drag a UINavigationController to my xib, put it inside the TabBarView and put my tableview under the navigation controller. When I open the window in IB, I can see my tableview inside the nav controller, in the first tab item but when I compile and go, only the navigation view shows up when I select the tab item. I've been banging my head, trying to find what connection or method I missed, I can't find it. Anybody knows? Thanks in advance! might this be helpful? http://www.youtube.com/watch?v=LBnPfAtswgw -Kevin The Red Fantasy : http://www.dobermaneditions.com//en/sheet-music-for-guitar/guitar-solo/p17554733.html The Fourth Stream: http://www.dobermaneditions.com//en/sheet-music-for-guitar/guitar-solo/p17554731.html Three River Moments: http://www.henry-lemoine.com/en/catalogue/rechercheFiche.html?cotage=27461 Accessorizer: http://www.kevincallahan.org/software/accessorizer.html Homepage: http://www.kevincallahan.org/ http://www.xeniamara.com -Laurent. -- Laurent Daudelin AIM/iChat/Skype:LaurentDaudelin http://nemesys.dyndns.org Logiciels Nemesys Software laurent.daude...@gmail.com Photo Gallery Store: http://laurentdaudelin.shutterbugstorefront.com/g/galleries ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/kcall%40mac.com This email sent to kc...@mac.com ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: UINavigationController inside a TabBarController
Thanks, that was helpful but I had already figured it out. After examining the Recipes sample, which does exactly what I wanted to do, I did notice that the sample didn't have a pre-configured tableview. So, I removed my tableview from the view hierarchy and, in viewDidLoad, I did set the tableview to the view pre-configured in IB. Works perfect! Now, if I could find how to get small UISegmentedControls, life would be good. You know, like in Settings-General, there is a small segmented control for the Location Services. It is small and fits well inside the tableview cell. However, the one I put from IB in my cell looks rather large. Is the only way to have it small by subclassing it and overriding its draw method? -Laurent. -- Laurent Daudelin AIM/iChat/Skype:LaurentDaudelin http://nemesys.dyndns.org Logiciels Nemesys Software laurent.daude...@gmail.com Photo Gallery Store: http://laurentdaudelin.shutterbugstorefront.com/g/galleries On Feb 12, 2010, at 21:11, Kevin Callahan wrote: On Feb 12, 2010, at 8:34 PM, Laurent Daudelin wrote: I'm not sure what I'm missing but I know it must be big. I started the design of a TabBar-style app and now, I want one of the view to be a navigation one. I did drag a UINavigationController to my xib, put it inside the TabBarView and put my tableview under the navigation controller. When I open the window in IB, I can see my tableview inside the nav controller, in the first tab item but when I compile and go, only the navigation view shows up when I select the tab item. I've been banging my head, trying to find what connection or method I missed, I can't find it. Anybody knows? Thanks in advance! might this be helpful? http://www.youtube.com/watch?v=LBnPfAtswgw -Kevin The Red Fantasy : http://www.dobermaneditions.com//en/sheet-music-for-guitar/guitar-solo/p17554733.html The Fourth Stream: http://www.dobermaneditions.com//en/sheet-music-for-guitar/guitar-solo/p17554731.html Three River Moments: http://www.henry-lemoine.com/en/catalogue/rechercheFiche.html?cotage=27461 Accessorizer: http://www.kevincallahan.org/software/accessorizer.html Homepage: http://www.kevincallahan.org/ http://www.xeniamara.com -Laurent. -- Laurent Daudelin AIM/iChat/Skype:LaurentDaudelin http://nemesys.dyndns.org Logiciels Nemesys Software laurent.daude...@gmail.com Photo Gallery Store: http://laurentdaudelin.shutterbugstorefront.com/g/galleries ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/kcall%40mac.com This email sent to kc...@mac.com ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: UINavigationController inside a TabBarController
What's the 'style' on the segmented control set to? The 'bar' style is smaller than the 'plain' or 'bordered' styles. On 13-Feb-2010, at 1:54 PM, Laurent Daudelin wrote: Thanks, that was helpful but I had already figured it out. After examining the Recipes sample, which does exactly what I wanted to do, I did notice that the sample didn't have a pre-configured tableview. So, I removed my tableview from the view hierarchy and, in viewDidLoad, I did set the tableview to the view pre-configured in IB. Works perfect! Now, if I could find how to get small UISegmentedControls, life would be good. You know, like in Settings-General, there is a small segmented control for the Location Services. It is small and fits well inside the tableview cell. However, the one I put from IB in my cell looks rather large. Is the only way to have it small by subclassing it and overriding its draw method? -Laurent. -- Laurent Daudelin AIM/iChat/Skype:LaurentDaudelin http://nemesys.dyndns.org Logiciels Nemesys Software laurent.daude...@gmail.com Photo Gallery Store: http://laurentdaudelin.shutterbugstorefront.com/g/galleries On Feb 12, 2010, at 21:11, Kevin Callahan wrote: On Feb 12, 2010, at 8:34 PM, Laurent Daudelin wrote: I'm not sure what I'm missing but I know it must be big. I started the design of a TabBar-style app and now, I want one of the view to be a navigation one. I did drag a UINavigationController to my xib, put it inside the TabBarView and put my tableview under the navigation controller. When I open the window in IB, I can see my tableview inside the nav controller, in the first tab item but when I compile and go, only the navigation view shows up when I select the tab item. I've been banging my head, trying to find what connection or method I missed, I can't find it. Anybody knows? Thanks in advance! might this be helpful? http://www.youtube.com/watch?v=LBnPfAtswgw -Kevin The Red Fantasy : http://www.dobermaneditions.com//en/sheet-music-for-guitar/guitar-solo/p17554733.html The Fourth Stream: http://www.dobermaneditions.com//en/sheet-music-for-guitar/guitar-solo/p17554731.html Three River Moments: http://www.henry-lemoine.com/en/catalogue/rechercheFiche.html?cotage=27461 Accessorizer: http://www.kevincallahan.org/software/accessorizer.html Homepage:http://www.kevincallahan.org/ http://www.xeniamara.com -Laurent. -- Laurent Daudelin AIM/iChat/Skype:LaurentDaudelin http://nemesys.dyndns.org Logiciels Nemesys Software laurent.daude...@gmail.com Photo Gallery Store: http://laurentdaudelin.shutterbugstorefront.com/g/galleries ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/kcall%40mac.com This email sent to kc...@mac.com ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/rols%40rols.org This email sent to r...@rols.org ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com