Re: Bottom-edge constraint not enforced in IB but is in runtime?
Re: Bottom-edge constraint not enforced in IB but is in runtime?
- Subject: Re: Bottom-edge constraint not enforced in IB but is in runtime?
- From: Rick Mann <email@hidden>
- Date: Mon, 09 Jul 2012 12:09:43 -0700
On Jul 9, 2012, at 7:57 , Marc Respass wrote:
>> I'm also finding that NSSplitView's pane views seem to have the translatesAutoresizingMaskIntoConstraints property set to true by default, even when built strictly in IB. Is this correct? Xcode 4.3.2.
>
> Hi Rick,
>
> I really encourage you to watch all three WWDC 2012 videos on constraints. That will answer a lot of questions. Constraints are tricky for me and those sessions cleared up a lot of things including priorities. You'll watch someone setup constraints to do things that previously required a split view to handle.
Well, see, this is the problem. I watched the first two videos (still have to watch the examples video), and IB and Lion are not behaving as advertised. According to the videos, if you're using constraints, the translates property should always be no (I may have misunderstood that). It should only be on for a NIB that isn't using autolayout, and in that case you can apply constraints in some places, and it'll apply them in others.
But that's not what I'm seeing.
_______________________________________________
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