Re: Storyboard scene and UIViewController
Re: Storyboard scene and UIViewController
- Subject: Re: Storyboard scene and UIViewController
- From: Conrad Shultz <email@hidden>
- Date: Thu, 03 Nov 2011 12:12:33 -0700
On 11/3/11 12:05 PM, Eric E. Dolecki wrote:
> I init a UIViewController class...
>
> FooViewController *fvc = [[FooViewController alloc] init];
>
> This is great, but I have to generate all the UI for the view controller in
> code in the class. Is it possible to layout a scene in a Storyboard and
> associate it with the view controller so that the UI in the scene will be
> used instead of me doing it all in code?
I haven't explored storyboarding yet, but it's definitely not the case
that you in general need to construct UI in code.
Make sure you are aware of UIViewController's -initWithNibName:bundle:
method!
--
Conrad Shultz
Synthetiq Solutions
www.synthetiqsolutions.com
_______________________________________________
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