Hi list, I'm using the NSCollectionView to present some my custom data. I'm using a NSMutableArray which bind to the ArrayController to provide data to the CollectionView.
Every time I'm using the willChangeValueForKey and didChangeValueForKey to update the GUI.But some time the NSCollectionView will crash . It's really wired . I haven't used any core Animation features in the IB. The crash reoport : Thread 0 Crashed: 0 com.apple.CoreFoundation 0x94c71cfc CFDictionaryApplyFunction + 156 1 com.apple.AppKit 0x96008303 -[NSViewAnimation _stopAnimation:] + 71 2 com.apple.AppKit 0x96060097 -[NSAnimation stopAnimation] + 42 3 com.apple.AppKit 0x965191e8 -[NSCollectionView _stopAnimationCompletingOperations:] + 1256 4 com.apple.AppKit 0x96519f0b -[NSCollectionView _applyTargetConfiguration:] + 2054 5 com.apple.AppKit 0x9651a408 -[NSCollectionView _animateAtEndOfEvent] + 42 6 com.apple.Foundation 0x92a415ee __NSFireDelayedPerform + 382 7 com.apple.CoreFoundation 0x94ca1b45 CFRunLoopRunSpecific + 4469 8 com.apple.CoreFoundation 0x94ca1cf8 CFRunLoopRunInMode + 88 9 com.apple.HIToolbox 0x90254480 RunCurrentEventLoopInMode + 283 10 com.apple.HIToolbox 0x90254299 ReceiveNextEventCommon + 374 11 com.apple.HIToolbox 0x9025410d BlockUntilNextEventMatchingListInMode + 106 12 com.apple.AppKit 0x95e5223d _DPSNextEvent + 657 I have no idea how it works inside the CollectionView . Could anyone give me some clue of this bug?? or just prevent the collectionView coreAnimation features? Thanks in Advance. Best Regards - Daniel yi Lin _______________________________________________ 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 arch...@mail-archive.com