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 <z...@mac.com> 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 (Cocoa-dev@lists.apple.com)
> 
> 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:
> https://lists.apple.com/mailman/options/cocoa-dev/eddy.imac.2%40gmail.com
> 
> This email sent to eddy.ima...@gmail.com
> 

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to