On 03 Nov 2011, at 12:05 pm, Eric E. Dolecki wrote:

> 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?

Sure.  Create your scene in the storyboard, assign an "identifier" string to it 
in the Attributes inspector, and then instantiate it using -[UIStoryboard 
instantiateViewControllerWithIdentifier:].

-b

--
Ben Kennedy, chief magician
Zygoat Creative Technical Services
http://www.zygoat.ca

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to