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 09-15-2008, 08:55 AM   #1 (permalink)
Registered Member
 
roberthuttinger's Avatar
 
Join Date: Sep 2008
Posts: 96
Default new tab noob?

I know this has got the be amazingly easy, but what am I missing here? so I created a 2 view tabbed app from the template. Im trying to add a third tab.

I added a 'secondviewcontroller.h/m' for the third window, created a new xib file. in IB set the owner of the third tab to 'secondviewcontroller'.

but in IB when I click on the second tab it says loaded from NIB, but on the third it does not say that.

What linkage am I missing here? It doesnt appear as if the tabs themselves are linked to anything.

cheers.rob

********** well it looks like using the windows based app then adding a tab bar was the easiest route and not confuzzling at all. a very simple example is here:
http://www.iphonesdkarticles.com/200...-tutorial.html

cheers.bo

Last edited by roberthuttinger; 09-15-2008 at 09:11 AM. Reason: I are dumb?
roberthuttinger is offline   Reply With Quote
Old 09-15-2008, 09:07 AM   #2 (permalink)
New Member
 
Join Date: Apr 2008
Location: Germany
Posts: 154
Default

In IB click on the tab you are talking about. You will see "View Controller" with "NIB Name" in it if you are looking on the Inspector (It's the Attributes Inspector!).
Choose the .nib file there.
ChriB is offline   Reply With Quote
Old 09-15-2008, 10:36 AM   #3 (permalink)
Registered Member
 
Join Date: Aug 2008
Posts: 272
Default

Just to clarify the above.. There isn't a chooser, you have to type in the nib name w/o the xib at the end.. Case Sensitive as well..
bikr is offline   Reply With Quote
Old 09-15-2008, 10:38 AM   #4 (permalink)
New Member
 
Join Date: Apr 2008
Location: Germany
Posts: 154
Default

Quote:
Originally Posted by bikr View Post
Just to clarify the above.. There isn't a chooser, you have to type in the nib name w/o the xib at the end.. Case Sensitive as well..
I'm using the 2.1 SDK and there is a chooser!
ChriB is offline   Reply With Quote
Old 09-15-2008, 11:05 AM   #5 (permalink)
Registered Member
 
Join Date: Aug 2008
Posts: 272
Default

Whoa!! Awesome! /me runs to d/l new sdk..
bikr is offline   Reply With Quote
Old 09-15-2008, 11:07 AM   #6 (permalink)
New Member
 
Join Date: Apr 2008
Location: Germany
Posts: 154
Default

Quote:
Originally Posted by bikr View Post
Whoa!! Awesome! /me runs to d/l new sdk..
I checked it, seems like they changed it in IB.

Isn't that cool.. Maybe there are other improvements?
ChriB is offline   Reply With Quote
Reply

Bookmarks

Tags
add, tabbar, tabs, tabview

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: 281
18 members and 263 guests
2WeeksToGo, ADY, apatsufas, dacapo, Dani77, Fritzer, ghost, HDshot, headkaze, iDifferent, mer10, mystic.purple, Rudy, smethorst, stoneage, superg, tathaastu, Zool
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,878
Threads: 89,224
Posts: 380,732
Top Poster: BrianSlick (7,129)
Welcome to our newest member, olga2000
Powered by vBadvanced CMPS v3.1.0

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