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

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

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

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.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 03-09-2011, 09:38 AM   #1 (permalink)
Awesome
 
Esko2300's Avatar
 
Join Date: Jun 2009
Location: New York, N.Y.
Posts: 389
Esko2300 is on a distinguished road
Default How to use multiple nibs on one view controller?

My problem is this, i read recently that its not good programming practice to have one view controller for everyview in my application. So now im going back and seeing where ill really need another view controller and where i would just need to display another nib in the same view controller. For instance, i have a tableview that when the user clicks edit it turns into another table view where there are disclosure arrows on each cell. Now when the user taps the cell, it loads another viewController that just has a label and a textfield. Now how i did this before was create another viewcontroller and load it on the current views navigation controller. Id rather have it where i can just place 2 more IBoutlets in my header file and add another xib to the same view controller linking the 2 new objects. So how would i go about doing this?

heres where im at
1)i have the new nib created.
2)i have the 2 objects linked to the same viewcontroller i am pushing the view upon.

now all i need is a way to push the new nib on the current viewControllers navigation controller but idont know how to do it...any ideas?

Last edited by Esko2300; 03-11-2011 at 08:50 AM.
Esko2300 is offline   Reply With Quote
Reply

Bookmarks

Tags
multiple .xib files, uinavigationcontroller

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: 364
15 members and 349 guests
Absentia, akphyo, apatsufas, BinHex, dre, fredidf, Gaz, gmarro, jeroenkeij, Kirkout, MarkC, mottdog, PavelMik, whitey99, Wikiboo
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,667
Threads: 94,120
Posts: 402,898
Top Poster: BrianSlick (7,990)
Welcome to our newest member, host number one
Powered by vBadvanced CMPS v3.1.0

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