Re: Very slow NSTableView
Re: Very slow NSTableView
- Subject: Re: Very slow NSTableView
- From: Quincey Morris <email@hidden>
- Date: Tue, 4 Jul 2017 00:39:42 -0700
On Jul 4, 2017, at 00:18 , Graham Cox <email@hidden> wrote:
>
> Is there a way to opt-out of vibrancy for an entire table view?
There’s no clear indication that the performance problem has anything to do
with vibrancy. In both cases, the “expensive” call was about transparency,
which could just be about compositing view with transparent backgrounds. I’m
wondering if there are views that you can make opaque by specifying solid
background colors.
Also check whether the table or cell views is marked as “layer backed” (in the
last tab of the inspector). I’ve noticed that in recent Xcodes, the top level
view of new projects seems to have this checked by default. It may be that your
older project *doesn’t* have this set, and it’s important to set it for recent
macOS versions, or (conversely) you do have this set and it’s not a good idea.
OTOH, if the problem is related to vibrancy, compositing or transparency, it’s
hard to believe that this could/should slow things down so dramatically. Can
you try running the app with the popup menus removed temporarily, and see what
difference that makes? There might be some justification for a bug report.
_______________________________________________
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