Re: Completely baffled by NSTabViewController + Autolayout (OS X bug)
Re: Completely baffled by NSTabViewController + Autolayout (OS X bug)
- Subject: Re: Completely baffled by NSTabViewController + Autolayout (OS X bug)
- From: Seth Willits <email@hidden>
- Date: Tue, 25 Aug 2015 08:23:58 -0700
> On Aug 17, 2015, at 9:13 PM, Seth Willits <email@hidden> wrote:
>
> The goal of this project as is, is simple: using an NSTabViewController, add multiple tab view items where each of the items has a view with its own autolayout-determined fixed size (as in, either an intrinsic content size, or the constraints of the subviews dictate the size of the view itself.) **That's it.** And I've been struggling with this for hours.
>
> The problems I'm seeing are randomly positioned views and inconsistent sizing:
> http://www.sethwillits.com/temp/TabViewResizing1.mp4
>
> Here's the project:
> http://www.sethwillits.com/temp/TabViewResizing.zip
>
> Can anyone explain this?
DTS say it's un-workaroundable bug in Yosemite and El Cap because "NSTabViewController does not work well with autolayout". I filed a Radar. If you have any desire to ever use NSTabViewController, I suggest you do the same.
--
Seth Willits
_______________________________________________
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