By default, adding and removing rows from NSPredicateEditor is done with animation. I'd like to get rid of that animation, or at least set its duration to zero, but have had no luck. Any ideas would be appreciated.
thanks
By default, adding and removing rows from NSPredicateEditor is done with animation. I'd like to get rid of that animation, or at least set its duration to zero, but have had no luck. Any ideas would be appreciated.
thanks
This is definitely not a good way, but it works:
Subclass
NSPredicateEditor
and add:This method is part of the
NSAnimationDelegate
protocol, which is apparently used byNSPredicateEditor
. Please keep in mind, that this might break at any time. Lets hope Apple adds an official way to disable animations.