Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 01-20-2009, 03:28 PM   #1 (permalink)
New Member
 
Join Date: Jan 2009
Location: New York
Posts: 1
Default NavigationController + TableViewController in separate xib file

is it possible to create a xib file which contains a navigationController, and a subview so that when loaded, a navigation bar appears on top and controls pushing of viewcontrollers.

- ViewController Xib
--- NavigationController
------ TableViewController

Unfortnately, I'm stuck at early stages trying to understand how IB connections work. One of the problems is displaying the Navigation Bar. A NavigationController has a UIViewController which in turn has a view. When I connect that view the the File's Owner, I don't see the navigation bar.

Any help is appreciated.
simoami is offline   Reply With Quote
Old 06-16-2009, 03:22 AM   #2 (permalink)
Registered Member
 
Join Date: Mar 2009
Posts: 28
Default

Hi...

Did you ever solve this - I'm having the same problem...
Mr_watanabe is offline   Reply With Quote
Old 06-16-2009, 09:45 PM   #3 (permalink)
Registered Member
 
Join Date: Jan 2009
Posts: 36
Default

Aloha guys,

I put together a PDF that somewhat covers your question, but has a different end goal in mind. Check out http://ibud.crispinworks.com/Combini...ontrollers.pdf. I hope this helps y'all out.

iBud
iBud is offline   Reply With Quote
Old 06-17-2009, 06:17 AM   #4 (permalink)
Registered Member
 
Join Date: Mar 2009
Posts: 28
Default

Hi iBud!

Thanks for this amazing tutorial!

Turns out, I've been on the right path in the beginning by adding the NavigationController to the TabBar... but then, I didn't know where to go from there... your tutorial helps a lot! (although, I have to admit that it's quite complicated to achieve this - it'd be more logical to put the navigation into the view it's controlling, rather than switching between the controlled view...)

Thanks a ton!

W
Mr_watanabe is offline   Reply With Quote
Reply

Bookmarks

Tags
navigation controller, nib, tableviewcontroller, xib

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 277
20 members and 257 guests
ADY, Bertrand21, Dani77, HemiMG, iDifferent, IphoneSdk, jakerocheleau, JasonR, jimbo, macquitzon216, MACralik, mer10, NSeven, prchn4christ, Rudy, silverwiz, spiderguy84, Sunny46
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,885
Threads: 89,230
Posts: 380,767
Top Poster: BrianSlick (7,129)
Welcome to our newest member, bookesp
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 03:00 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0