• 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: auto layout, 10.9, and NSScrollView and friends
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: auto layout, 10.9, and NSScrollView and friends


  • Subject: Re: auto layout, 10.9, and NSScrollView and friends
  • From: email@hidden
  • Date: Tue, 18 Feb 2014 19:45:59 +0000

On 18 Feb 2014, at 17:01, email@hidden wrote:
>> _______________________
>
> Not so fast.
>
> NSScrollView really doesn't work properly with auto layout.
> Not for the document view of it anyway.
>>
WWDC 2013 Session Video 213: Best Practices for Cocoa animation briefly describes embedding an NSStackView in an NSScrollView.

I was able to make NSScrollView use auto layout on 10.9.
Note that the scrollview uses a flipped NSClipView

https://github.com/mugginsoft/TSStackView/blob/master/TSStackView.m#L209

Jonathan


_______________________________________________

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


References: 
 >auto layout, 10.9, and NSScrollView and friends (From: Rob Nikander <email@hidden>)
 >Re: auto layout, 10.9, and NSScrollView and friends (From: "email@hidden" <email@hidden>)
 >Re: auto layout, 10.9, and NSScrollView and friends (From: email@hidden)

  • Prev by Date: Re: auto layout, 10.9, and NSScrollView and friends
  • Next by Date: Crash in -URLByResolvingBookmarkData::::: in sandboxed app
  • Previous by thread: Re: auto layout, 10.9, and NSScrollView and friends
  • Next by thread: gcl_create_dispatch_queue where is CL_DEVICE_TYPE_USE_DEVICE_ID
  • Index(es):
    • Date
    • Thread