Re: setNeedsDisplay: thread safe?
Re: setNeedsDisplay: thread safe?
- Subject: Re: setNeedsDisplay: thread safe?
- From: "Mike R. Manzano" <email@hidden>
- Date: Thu, 8 Apr 2004 15:34:07 -0700
So is calling -display a way to get around a bug in Cocoa, or is it
more appropriate in general to call -display?
Mike
On Apr 8, 2004, at 3:24 PM, Jirka Jirout wrote:
Also, it says the display will update on the next pass through the
run loop, can I expect this to be pretty regular, or should I somehow
manually invoke drawing?
My experience is to use display method instead of -setNeedsDisplay: if
you really need to be sure when the drawing actually occurs.
Recently I had to replace all -setNeedsDisplay: calls with -display
calls in one of my applications since the redrawing did not always
occur soon enough. I also experienced some problems with drawing (new
content drawn over the old one without clearing it etc.) when using
-setNeedsDisplay:
jj
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.