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: Keary Suska <email@hidden>
- Date: Tue, 22 Jul 2014 20:38:31 -0600
On Jul 22, 2014, at 10:59 AM, Kyle Sluder <email@hidden> wrote:
> 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.
Sorry my bad--didn't notice.
>> 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.
Listen to Kyle. He knows best.
> 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.
Did they also fix auto layout for split views? I was thinking it was split views that were fixed in 10.9 but not scroll views, but I could have that backwards, and also be a version behind.
Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"
_______________________________________________
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