• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: split views, best practices for 10.8?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: split views, best practices for 10.8?


  • Subject: Re: split views, best practices for 10.8?
  • From: Kyle Sluder <email@hidden>
  • Date: Sat, 08 Dec 2012 23:43:05 -0800

On Sat, Dec 8, 2012, at 04:19 PM, Chuck Soper wrote:
> On 11/27/12 6:33 PM, "Chuck Soper" <email@hidden> wrote:
> >On 11/27/12 2:11 PM, "Peter Ammon" <email@hidden> 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 (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

  • Follow-Ups:
    • Re: split views, best practices for 10.8?
      • From: Chuck Soper <email@hidden>
References: 
 >Re: split views, best practices for 10.8? (From: Chuck Soper <email@hidden>)

  • Prev by Date: Re: How to implement readonly property
  • Next by Date: Re: How to implement readonly property
  • Previous by thread: Re: split views, best practices for 10.8?
  • Next by thread: Re: split views, best practices for 10.8?
  • Index(es):
    • Date
    • Thread