How to switch off NSCollectionView fade animations

2008-08-10 Thread Markus Spoettl

Hello List,

  is there a way to switch off the fade-in and fade-out animation  
that take place when NSCollectionView shows new or hides removed  
items? Those things can really decrease performance when it displays a  
lot of collection items that have complex drawing routines. On top of  
it I keep getting assertion failures when the bound array changes  
while the collection view is hidden (bug reported already).


So I'd really really like to completely switch animation off for the  
collection view if that is possible. Is it?


I'm using Xcode 3.0 on 10.5.4

Regards
Markus
--
__
Markus Spoettl



smime.p7s
Description: S/MIME cryptographic signature
___

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

This email sent to [EMAIL PROTECTED]

Re: How to switch off NSCollectionView fade animations

2008-08-10 Thread Kyle Sluder
On Sun, Aug 10, 2008 at 3:22 PM, Markus Spoettl
[EMAIL PROTECTED] wrote:
 So I'd really really like to completely switch animation off for the
 collection view if that is possible. Is it?

Dunno if it's possible.  If you want to try to hack around it, see if
NSCollectionView posts any notifications when it's starting to
animate.  Then have your views listen for those notifications and, in
-drawRect:, draw some sort of cached bitmap representation or other
efficient output.

HTH,
--Kyle Sluder
___

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

This email sent to [EMAIL PROTECTED]