Hi,
for Core Animation's implicit animations to work properly, I need to schedule creation and flushing of implicit CATransaction whenever event processing is entered, and whenever the runloop code is entered again. This can be either a C function or an Objective-C method, but I need these two pieces of code to run each and every time runloop calls user code and whenever user code is done running.
Note, I'm not trying to accomplish continuous calling of these methods (that's trivial using e.g. timers); instead, I need these methods to be called, for example, when user chooses a menu item or clicks on a button.
What's the easiest way to accomplish this?
|