Re: NSOutlineViews and Mountain Lion
Re: NSOutlineViews and Mountain Lion
- Subject: Re: NSOutlineViews and Mountain Lion
- From: Alex Zavatone <email@hidden>
- Date: Wed, 10 Jul 2013 13:53:32 -0400
Thanks Eddy, though I recall it being introduced in Mountain Lion, though I could be wrong on that.
Thanks much for finding that in the docs, I wasn't able to find anything.
With this information, do you know if it would be at all possible to use this to disable the animations in the Finder, Xcode and possibly system wide?
I'm looking for any hidden settings using these techniques in the hopes that I can find the source of many irritating animations (Safari download flying icon) and turn them off.
http://arcticmac.home.comcast.net/~arcticmac/tutorials/gdbFindingPrefs.html
http://superuser.com/questions/455755/how-to-explore-more-defaults-write-tweaks-on-os-x
And a comprehensive list of those known:
https://github.com/mathiasbynens/dotfiles/blob/master/.osx
Thanks again. Much appreciated. I don't know why we're given these capabilities by default not given a clear switch to turn them off.
On Jul 10, 2013, at 12:14 PM, Eddy T wrote:
> IIRC, it's worked that way since at least Lion. The docs state this somewhere (couldn't find it right now though), that you can disable this behavior by wrapping the expand/collapse calls with a 0 duration animation; I've done this in a subclass of NSOutlineView but I think just wrapping the call works as well:
>
> - (void)expandItem:(id)item expandChildren:(BOOL)expandChildren
> {
> [NSAnimationContext beginGrouping];
> [[NSAnimationContext currentContext] setDuration:0];
> [super expandItem:item expandChildren:expandChildren];
> [NSAnimationContext endGrouping];
> }
>
>
>
> On Mon, Jul 8, 2013 at 3:55 PM, Alex Zavatone <email@hidden> wrote:
> I've noticed that since Mountain Lion, when clicking on a disclosure triangle in an NSOutlineView, there is an animation of the content rolling out or rolling back up.
>
> Is there a way to disable this and have the content display or hide instantly as it was before, where the content display or hiding was instant?
>
> All this "absolutely everything must be animated" approach in the current Mac OS is something I am not enjoying at all.
>
> If there is an NSUserDefaults setting to globally set the animation time of a disclosure triangle content rollout/rollup to 0 or disable the animation completely, I'd love to know what it is.
>
> Thanks in advance.
>
>
> _______________________________________________
>
> 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
>
_______________________________________________
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