On Sat, Dec 8, 2012, at 04:19 PM, Chuck Soper wrote:
> 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?

It is never(*) correct to call
-setTranslatesAutoresizingMaskIntoConstraints: on a view for which you
do not control the superview's implementation.

On 10.8, NSSplitView should be calling
-setTranslatesAutoresizingMaskIntoConstraints: already.

> And, that NSSplitView won't add constraints that conflict with my
> subviews?

This should be the case.

> 
> 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?

See above.

--Kyle Sluder
_______________________________________________

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

Reply via email to