• 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: UIViewController containment and storyboarding
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: UIViewController containment and storyboarding


  • Subject: Re: UIViewController containment and storyboarding
  • From: Matt Neuburg <email@hidden>
  • Date: Thu, 10 Nov 2011 07:37:22 -0800

On Sat, 05 Nov 2011 21:48:42 +0800, Roland King <email@hidden> said:
>Is there any support for UIViewController containment with storyboarding?

Yes, but you have to careful about what you mean by "support". I see two possible misapprehensions here:

1) The storyboard editor knows nothing your custom container view controller, so you're not going to get any magic ability to just plop your view controller into the storyboard editor and draw two segues from its sub-viewcontrollers (the way you can with certain built-in container view controller types).

2) Storyboards have been oversold, or perhaps I should say mis-sold. They are not about reducing code (although they can reduce some code as a side effect). They are about the fact that the notion of scenes and segues may be a better object-oriented organization for keeping your code straight. So if you think about it that way, there's nothing wrong with some or all of your segues turning out to be custom segues where you end up writing just as much code as before - perhaps more - but in different places.

m.

--
matt neuburg, phd = email@hidden, <http://www.apeth.net/matt/>
A fool + a tool + an autorelease pool = cool!
Programming iOS 4!
http://www.apeth.net/matt/default.html#iosbook_______________________________________________

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

  • Prev by Date: Re: ObjC's flat and all-exported namespace, help!
  • Next by Date: Re: UITextField and UIGestureRecognizers
  • Previous by thread: UIViewController containment and storyboarding
  • Next by thread: Any success with SMLoginItemSetEnabled?
  • Index(es):
    • Date
    • Thread