• 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: Still can't get autolayout to work the way I want
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Still can't get autolayout to work the way I want


  • Subject: Re: Still can't get autolayout to work the way I want
  • From: Charles Srstka <email@hidden>
  • Date: Thu, 19 Sep 2013 22:29:18 -0500

On Sep 19, 2013, at 5:50 PM, Kevin Muldoon <email@hidden> wrote:

> Yes, IB does automagically pop in constraints and for simple layouts, it works. But, with more complicated layouts, moving a single element around will rearrange one or more other constraints, generally breaking everything. I'm not familiar with the clear constraints command in IB, but like I was mentioning earlier, I'm avoiding the creation and use of .xib files for anything but the simplest layouts. Maybe iOS7 constraints have improved drastically, I just haven't had the time to dig into it. Anyway, this link is a nice intro into building UI from code with constraints...
>
> http://ioscreator.com/auto-layout-in-ios-6-adding-constraints-through-code/

Not anymore in Xcode 5. As others have pointed out, XC5 no longer adds any constraints automatically, but in addition to that, moving things around doesn't break or change constraints anymore, either. You should give it a try — it's much improved.

Charles


_______________________________________________

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


References: 
 >Still can't get autolayout to work the way I want (From: Rick Mann <email@hidden>)
 >Re: Still can't get autolayout to work the way I want (From: "Brad O'Hearne" <email@hidden>)
 >Re: Still can't get autolayout to work the way I want (From: Kevin Muldoon <email@hidden>)
 >Re: Still can't get autolayout to work the way I want (From: Rick Mann <email@hidden>)
 >Re: Still can't get autolayout to work the way I want (From: Kevin Muldoon <email@hidden>)

  • Prev by Date: setEnabled equivalent for non-NSControl views
  • Next by Date: Re: setEnabled equivalent for non-NSControl views
  • Previous by thread: Re: Still can't get autolayout to work the way I want
  • Next by thread: Re: Still can't get autolayout to work the way I want
  • Index(es):
    • Date
    • Thread