QCView class is a custom
NSView class that loads, plays, and controls Quartz Composer compositions. It is an autonomous view that is driven by an internal timer running on the main thread.
- macOS 10.4+
The view can be set to render a composition automatically when it is placed onscreen. The view stops rendering when it is placed offscreen. When not rendering, the view is filled with the current erase color. The rendered composition automatically synchronizes to the vertical retrace of the monitor.
When you archive a
QCView object, it saves the composition that’s loaded at the time the view is archived.
If you want to perform custom operations while a composition is rendering such as setting input parameters or drawing OpenGL content, you need to subclass
QCView and implement the