Re: setNeedsDisplay: thread safe?
Re: setNeedsDisplay: thread safe?
- Subject: Re: setNeedsDisplay: thread safe?
- From: Jirka Jirout <email@hidden>
- Date: Fri, 9 Apr 2004 00:24:06 +0200
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.