Hi Peter, On 11/27/12 6:33 PM, "Chuck Soper" <chu...@veladg.com> wrote: >On 11/27/12 2:11 PM, "Peter Ammon" <pam...@apple.com> wrote: > >>Hi Chuck, >> >>Autolayout works well with NSSplitView in 10.8. > >Perfect. Thanks for that confirmation.
Does that mean that in 10.8 (and not 10.7) that it's fine to call setTranslatesAutoresizingMaskIntoConstraints:NO for subviews of NSSplitView? And, that NSSplitView won't add constraints that conflict with my subviews? The "Cocoa Auto Layout Guide" says not to call setTranslatesAutoresizingMaskIntoConstraints:NO for subviews of NSSplitView, but I think that's for 10.7 and the statement is no longer true for 10.8. Is that correct? I had been attempting to use constraints in a subview of NSTableCellView (and call setTranslatesAutoresizingMaskIntoConstraints:NO). I was getting lots of "Unable to simultaneously satisfy constraints" exceptions. NSTableView was adding NSAutoresizingMaskLayoutConstraint instances that were conflicting with my subviews. After I read the "Adopting Auto Layout" section in "Cocoa Auto Layout Guide" this makes sense. The reason I had not read the "Adopting Auto Layout" section was because I was writing a new app for 10.8 and thought the section was specifically for adopting existing code for auto layout. Thanks, Chuck >[snipped out the bulk of my original message] > > >>Hope that helps! >>-Peter > >It helps immensely! Thanks! > >Chuck _______________________________________________ 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