Home News Forum Social Networking Support Us Advertise

Spanish Lesson 1 ($1.99)

aWake!Gently ($1.99)

The Bird & The Snail - Knock Knock - Deluxe ($4.99)

Match-It Trains ($0.99)

Tangled ($0.99)

iFlatter ($0.99)

The 15 puzzle ($0.99)

Tap Forms Database ($8.99)

Higher or Lower Card Game (Hi Lo) ($0.99)

Red Pixel ($0.99)

Time-Shift Radio ($0.99)

Want your application advertised here? Only $10/week!

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

Reply
 
LinkBack Thread Tools Display Modes
Old 09-06-2008, 09:25 PM   #1 (permalink)
New Member
 
Join Date: Aug 2008
Location: Gaithersburg, MD
Posts: 31
Rep Power: 0
jamesbrannan is on a distinguished road
Default TabBar Sample Code in IB

I can follow the tutorial on building a Tab Bar from scratch no problem. However, the tutorial has all the tabs going to one class and its all in one XIB.

The Tab Bar Application template in IB builds two xib files, MainWindow and SecondView. I cannot for the life of me figure out how to work with this. I want a button on the second view to cause a label on the first view (in the mainview.xib) to update. I've tried everything. There's obviously a key step I'm missing, anybody got any ideas, as I haven't seen any tutorial (and the one on adding a tab bar with no code is no help...).

Again, trying to update a label on the first view in mainwindow.xib by pressing a button in the secondview that is in secondview.xib.

thanks,
James
jamesbrannan is offline   Reply With Quote
Old 09-07-2008, 07:57 PM   #2 (permalink)
New Member
 
Join Date: Aug 2008
Location: Gaithersburg, MD
Posts: 31
Rep Power: 0
jamesbrannan is on a distinguished road
Default

Never mind....

This tutorial sets me in the right direction. I suppose I should create a tutorial to payback the favor once I get it working.

Multiple XIB how-to

Its not the tab bar, but it shows how to work with multiple xibs and share variables between them.

James
jamesbrannan is offline   Reply With Quote
Reply

Bookmarks

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: 252
27 members and 225 guests
Artem, brendand, crossfire, davek, DenVog, DGuy, enfamus, FlyingDiver, gbh, iBud, jonahgabriel, jrsiqueira, kaleman, Kalimba, lildragon, martinn, martinws, mnemonic_fx, mohrt, qaziatiq, shabzcohelp, Sicga, SpikeyUK, talguy, tashev, thorx, warmi
Most users ever online was 779, 05-11-2009 at 09:55 AM.
» Stats
Members: 8,229
Threads: 20,197
Posts: 90,213
Top Poster: RickMaddy (2,121)
Welcome to our newest member, jrsiqueira
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 02:07 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0