Le 3 sept. 2010 à 00:17, David Duncan a écrit :

> Doing so would cause you all manners of pain and suffering, the most common 
> of which is things "mostly" working but occasionally your drawing going into 
> the wrong view. Basically *never* use the context given to you in 
> -drawInContext: outside of that invocation.

Understood.

I have implemented what you suggested. I get a strange behavior: the first time 
I enqueue a request for display, everything is fine. But then I cannot draw any 
further: any subsequent call, albeit correctly enqueued in the block, does 
nothing: the -(void)display method is called, but it does not forward to 
-(void)drawInContext. As if there were some initialization or finalization step 
lacking.

Any idea?
Vincent_______________________________________________

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