Advances the screen saver’s animation by a single frame.
- macOS 10.0+
This method is called each time the timer animating the screen saver fires. The time between calls to this method is always at least
animation. It is guaranteed that the focus is locked when this method is called, so subclasses may do drawing in this method. The subclass can also let
draw(_:) perform the drawing, in which case
animate needs to call
set with an argument of
true. The default implementation does nothing.