in an nscollectionview, I call setContent: every time I get a new item for
the collection view. The annoying side-effect of this is that the whole
view dims and brightens each time setContent: is called.. not visually
appealing.

I've tried disabling CATransactions while calling setContent: but that
seems no change.

[CATransaction begin];
 [CATransaction setValue:(id)kCFBooleanTrue
forKey:kCATransactionDisableActions];
[self setGridContent:[[tempArray copy] autorelease]];
 [CATransaction commit];

It was suggested to me to use an nsarraycontroller and bind that to
gridContent. I tried:

[gridContentController bind:@"contentArray" toObject:self
withKeyPath:@"gridContent"
options:nil];

and in the xib I bound nscollectionview content to gridContentController
-arrangedObjects. This appears to have no effect. Any ideas/suggestions?
_______________________________________________

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

Reply via email to