Thanks a lot, Kevin. I didn't realize it was only for top-level objects; now I see it. It is correct that I should turn off translatesAutoresizingMaskIntoConstraints when using auto-layout?
Thanks again Marc El jul 10, 2012, a las 11:01 a.m., Kevin Cathey escribió: > The default value of translatesAutoresizingMaskIntoConstraints for top level > views in IB is YES on both Lion and Mountain Lion. But this can be disabled > using the Attributes Inspector and uncheck "Translates Mask Into Constraints" > > Kevin > > On Jul 9, 2012, at 12:09 PM, Rick Mann <rm...@latencyzero.com> wrote: > >> >> 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 (Cocoa-dev@lists.apple.com) >> >> 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: >> https://lists.apple.com/mailman/options/cocoa-dev/cathey%40apple.com >> >> This email sent to cat...@apple.com > _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com