• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: TabBarController + NavigationController Integration Problem in IB
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: TabBarController + NavigationController Integration Problem in IB


  • Subject: Re: TabBarController + NavigationController Integration Problem in IB
  • From: George Stuart <email@hidden>
  • Date: Tue, 27 May 2008 03:02:38 -0500

WooHoo! My first post to cocoa-dev... and it's to ask -- is this appropriate for cocoa-dev? I am also working on iPhone apps but have been just lurking on this list to see if there was any CocoaTouch discussion. Perhaps someone should create email@hidden ? I digress. I'm new to the Apple Developer community.

For fun, I just created the sample app from SDK5 which is a TabBar skeleton. I added a Navigation controller to the TabBarController in the NIB file (thus created a third tab). I added an IBAction called resetPushed: to the TabBarDelegate. I added a UIBarButtonItem to the NavigationBar and pointed it to resetPushed:. All seemed to work fine (all resetPushed: does is tell the TabBarController to setSelectedIndex:0, nothing fancy). I'm not sure what you are specifically doing so I can't be sure I replicated your scenario.

All that said, remember this is still BETA. One issue I see right now is that Interface Builder does not appear to store the UIBarStyle attribute of the NavigationBar. I want the bar to be black and opaque. It totally ignores me if I use the IB Inspector to set this. But I can get this to work programmatically, so there are clearly still some kinks to work out in IB -- it's possible your code and NIB are correct but the BETA has an issue.

If you want to send me more details offline I can offer some thoughts -- I'm no SDK expert, but I have been coding with the official SDK since it was released. Perhaps it will help (you could post details here, but I didn't want to abuse the list if CocoaTouch is off topic).

Lastly, another frustrating item about the SDK is that the simulator is not an _emulator_. It just replicates the iPhone's API (according to the docs). This adds another layer of uncertainty about "bugs"... but until Apple grants me a developer key, to the simulator I shall go!

Cheers,
George


On May 27, 2008, at 2:18 AM, SACHIN_HOTTY wrote:

Hi Folks,

I'm a new to the development of iPhone Apps since the official launch of iPhone SDK

Currently I'm using the Beta-5 version of SDK on Mac OS-X Leopard 10.5.2 system

I have a problem while using the UITabBarController and UINavigation- Controller objects when added to the window in the Interface Builder

Problem is I'm not able to add the UINavigation Controller Nib object to be a View Controller of one of the TabBarItems of the TabBarController in the nib file

Upon doing this it show some weird behavior like....

1) The Bar-Button actions are not getting properly called on the navigation
Controller view ,application gets crashed with exit code 1
2) Sometimes the tab-Item images vanishes not able to view it properly when the
application is launched in the simulator


All the above things work properly If I add the view controllers view programmatic ally to the project...

I need the help on solving the above issues If any one knows it.


Your suggestions are most welcome.......


Best Regards, Sachin

---------------------------------
Meet people who discuss and share your passions.  Join them now.
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:
This email sent to email@hidden

_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:
This email sent to email@hidden


  • Follow-Ups:
    • Re: TabBarController + NavigationController Integration Problem in IB
      • From: Scott Anguish <email@hidden>
References: 
 >TabBarController + NavigationController Integration Problem in IB (From: SACHIN_HOTTY <email@hidden>)

  • Prev by Date: Re: Prevent computer from going to sleep but _not_ disable dimming
  • Next by Date: Re: running an external app
  • Previous by thread: TabBarController + NavigationController Integration Problem in IB
  • Next by thread: Re: TabBarController + NavigationController Integration Problem in IB
  • Index(es):
    • Date
    • Thread