Re: Re: Bottom-edge constraint not enforced in IB but is in runtime?
Re: Re: Bottom-edge constraint not enforced in IB but is in runtime?
- Subject: Re: Re: Bottom-edge constraint not enforced in IB but is in runtime?
- From: Marc Respass <email@hidden>
- Date: Mon, 09 Jul 2012 10:57:30 -0400
> 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.
IB is trying to give you good constraints but more importantly it is always going to create valid constraints. I don't remember what the default setting is for translatesAutoresizingMaskIntoConstraints (and I can't find it in IB) but I'm sure that if you are using constraints that translatesAutoresizingMaskIntoConstraints should be NO.
Good luck
Marc
_______________________________________________
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