Re: Tab page problems
Re: Tab page problems
- Subject: Re: Tab page problems
- From: Fritz Anderson <email@hidden>
- Date: Mon, 05 Mar 2012 09:14:35 -0600
On 5 Mar 2012, at 3:53 AM, Ulrik Vadstrup wrote: I hope this is the right way to use the mailinglist...
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