Re: Auto layout and scroll views on OS X
Re: Auto layout and scroll views on OS X
- Subject: Re: Auto layout and scroll views on OS X
- From: Kyle Sluder <email@hidden>
- Date: Tue, 22 Jul 2014 09:59:39 -0700
On Jul 22, 2014, at 7:13 AM, Keary Suska <email@hidden> wrote:
>
> Based on the error it looks like a Mac OS X project, but if not, please always specify because there isn't complete feature parity with iOS.
Allison did put “OS X” in the subject line.
> So, for Mac OS X, auto layout is broken for NSScrollViews. Perhaps this will change in 10.10.
Auto Layout should work fine with scroll views in 10.9, in much the same way as it does in iOS.
The key difference is that on OS X, your interior constraints need to be set up relative to the clip view, not the scroll view itself. That means you need to upgrade your XIBs to the new Xcode 5 format, because older formats don’t expose the clip view object.
--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