CALayer maybe silly question
CALayer maybe silly question
- Subject: CALayer maybe silly question
- From: vincent habchi <email@hidden>
- Date: Mon, 25 Jan 2010 21:02:12 +0100
Hi again,
the silly question is this: is it possible to redraw a CALayer in background?
More specifically, I've written a delegate method drawLayer:inContext: that creates a thread that does the drawing then returns.
Net result, when I do that, is void. The screen is blank, I think because nothing in drawn when the image is composited. So, is there a way to make the drawing appear when the thread has accomplished its job? I tried to put a [[layer superlayer] setNeedsDisplay] at the end of the threaded routine, the drawing appears but vanishes at once.
Any clue?
Thanks
Vincent
_______________________________________________
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