Threads
Threads
- Subject: Threads
- From: koko <email@hidden>
- Date: Fri, 19 Jul 2013 12:56:45 -0600
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 (email@hidden)
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:
This email sent to email@hidden