I have a NSMatrix into which I place NSImageCells.

I create a data source based on user input that specifies how many cells and 
what the cell content should be.

The NSMatrix row and columns are recalculated based on this data source.

Now I call -setNeedsDisplay:YES on the NSMatrix

The cells are custom drawn.

In -drawInteriorWithFrame I calculate if the cell is visible and if so generate 
its image.



The question:

How can, or can, the -setNeedsDispay:YES be run on a separate thread?


-koko

_______________________________________________

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