Showing posts with label runloop. Show all posts
Showing posts with label runloop. Show all posts

Tuesday, April 10, 2012

Is there a way to make drawRect work right NOW?


The original question...............................................



If you are an advanced user of drawRect on your ipop*, you will know that of course drawRect will not actually run until "all processing is finished." setNeedsDisplay flags a view as invalidated and the OS, in a word, waits until all processing is done. This can be infuriating in the common situation where you want to have: