Sets the aspect ratio used to display compositions in the composition picker view.
SDK
- macOS 10.5–10.15Deprecated
Framework
- Quartz
Declaration
func setCompositionAspectRatio(_ ratio: NSSize)
Parameters
ratio
An aspect ratio.
Sets the aspect ratio used to display compositions in the composition picker view.
SDK
Framework
func setCompositionAspectRatio(_ ratio: NSSize)
ratio
An aspect ratio.
func set Compositions From Repository With Protocol(String!, and Attributes: [Any Hashable : Any]!)
Sets the compositions in the composition picker view to those that match the specified criteria.
func compositions() -> [Any]!
Returns the list of compositions that are currently in the composition picker view.
func set Allows Empty Selection(Bool)
Sets whether to allow an empty selection in the composition picker view.
func allows Empty Selection() -> Bool
Retrieves the empty-selection state of the composition picker view.
func composition Aspect Ratio() -> NSSize
Retrieves the aspect ratio used to display compositions in the composition picker view.
func set Selected Composition(QCComposition!)
Sets a composition as selected in the composition picker view.
func selected Composition() -> QCComposition!
Returns the composition that is currently selected in the composition picker view.