Re: auto layout, 10.9, and NSScrollView and friends
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