• 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
incrementally adopt auto layout with storyboards?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

incrementally adopt auto layout with storyboards?


  • Subject: incrementally adopt auto layout with storyboards?
  • From: Chuck Soper <email@hidden>
  • Date: Tue, 30 Sep 2014 10:00:52 -0700
  • Thread-topic: incrementally adopt auto layout with storyboards?

Is there a way to incrementally adopt auto layout with storyboards? I have
a storyboard with  a large number of scenes. If I turn on "Use Auto
Layout" for the storyboard then all scenes are using auto layout (which
makes sense). Is there a way to not use auto layout for some of the
scenes? For example, can I place the following line somewhere in my view
controller?








  [self.view setTranslatesAutoresizingMaskIntoConstraints:YES];
I suspect the answer is no. Also, the moment the storyboard has "Use Auto
Layout" turned on, then any modification of springs and struts has to be
done programmatically.

The Adopting Auto Layout section in the Auto Layout Guide explains how to
adopt auto layout for individual views, but that doesn't appear to help my
situation.
https://developer.apple.com/library/ios/documentation/UserExperience/Concep
tual/AutolayoutPG/AdoptingAutoLayout/AdoptingAutoLayout.html

It would be great if the Adopting Auto Layout section could be updated to
include converting storyboards to use auto layout.


On a related topic, we've discovered that merging changes in a storyboard
is very problematic or even impossible. Our solution is to allow only one
user to modify a storyboard at a time.


_______________________________________________

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: Compressing glyphs programmatically
  • Next by Date: Can a 32bit only MacOS Application use 64bit-only Frameworks?
  • Previous by thread: RE: Compressing glyphs programmatically
  • Next by thread: Can a 32bit only MacOS Application use 64bit-only Frameworks?
  • Index(es):
    • Date
    • Thread