• 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: Tab page problems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tab page problems


  • Subject: Re: Tab page problems
  • From: Ulrik Vadstrup <email@hidden>
  • Date: Mon, 05 Mar 2012 16:54:56 +0100

Yea, i was using the IB and the "Storyboard" option.

I did not know that this solution was not a perfect one to go with….

I will build it view by view instead

Thanks a lot.

This really helped my a lot :-)

Regards
Ulrik


Den 05/03/2012 kl. 16.14 skrev Fritz Anderson:

On 5 Mar 2012, at 3:53 AM, Ulrik Vadstrup wrote:

I hope this is the right way to use the mailinglist...

It would be better on the cocoa-dev list, or on devforums.apple.com, but it's a close call.

I'm trying to make a iPhone tab page based application in Xcode 4.3. First step is to add more view controllers than the 2 already there.

I drag a view controller form the library, then ctrl+drag from the tab controller, finally i create new UIViewController h and m file - named "CalenderViewControl" and select that name in the filesowner for my new added Viewcontroller.

You're doing this in Interface Builder? Building a tab-based interface in IB is a nightmare — IB is bad at representing the layering and indirection in UITabBarController. If at all possible, build the tab controller in your application delegate, instantiate the content view controllers, and put them into the tab controller.

You're running Xcode 4.3. Instantiate a throwaway iOS tabbed application, and examine the application delegate code to see how it's done. Note that Apple's template doesn't even have a root XIB. Apply the logic in the template to your own code.

— F



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Tab page problems (From: Ulrik Vadstrup <email@hidden>)
 >Re: Tab page problems (From: Fritz Anderson <email@hidden>)

  • Prev by Date: Re: Tab page problems
  • Next by Date: split source code windows (was: Xcode - AN APPLE OPPORTUNITY!)
  • Previous by thread: Re: Tab page problems
  • Next by thread: split source code windows (was: Xcode - AN APPLE OPPORTUNITY!)
  • Index(es):
    • Date
    • Thread