
|
|
![]() To customize command playback for a class, create a class extension with the following method: - (void) playbackMonkeyEvent:(FMCommandEvent*)event; In the implementation of this method, you do whatever is necessary to generate the user interaction that corresponds to the command. Recreating actions for the "Up" and "Down" commands we recorded in our event handler in the previous examle might be implemented as follows. - (void) playbackMonkeyEvent:(FMCommandEvent*)event {
} |