Re: Arrgh IB constraints
Re: Arrgh IB constraints
- Subject: Re: Arrgh IB constraints
- From: Rick Mann <email@hidden>
- Date: Sun, 08 Jul 2012 18:24:43 -0700
On Jul 8, 2012, at 18:21 , Todd Heberlein wrote:
>
> On Jul 8, 2012, at 6:12 PM, Rick Mann wrote:
>
>> Is there anything that describes how I'm supposed to use IB to set layout constraints? It keeps putting stuff in there, and then not behaving properly at run time. I can't delete half the constraints until I add other ones, and even then it adds constraints that don't need to be there.
>
> I've been struggling with this too. I think it will just take me a while (and lots of practice on small, test projects) to get to the point where I can say "I think I understand this".
>
> Having said that… there are some Apple WWDC 2012 videos online that are a good starting point. Go to the Apple Developer site, find the WWDC 2012 videos, and search for "Layout". There are at least three talks.
Thanks, Todd, I'll give that a try.
I don't have a problem understanding the concepts of constraints, at least at the most basic use (I definitely don't understand the priority system). But what flummoxes me is the way IB inserts constraints willy-nilly, and doesn't make it easy to set basic constraints. Not to mention that if you pin one edge of a view to its superview (for example), it then selects that new constraint, making it tedious to then pin the remaining three edges.
It also doesn't do a good job of showing you what a particular constraint is really constraining (which views and attributes that are involved).
--
Rick
_______________________________________________
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