Instance Method

setAllowsEmptySelection(_:)

Sets whether to allow an empty selection in the composition picker view.

Declaration

func setAllowsEmptySelection(_ flag: Bool)

Parameters

flag

true to allow an empty selection. The default value is false.

See Also

Managing the Composition Picker View

func setCompositionsFromRepositoryWithProtocol(String!, andAttributes: [AnyHashable : Any]!)

Sets the compositions in the composition picker view to those that match the specified criteria.

Deprecated
func compositions() -> [Any]!

Returns the list of compositions that are currently in the composition picker view.

Deprecated
func allowsEmptySelection() -> Bool

Retrieves the empty-selection state of the composition picker view.

Deprecated
func setCompositionAspectRatio(NSSize)

Sets the aspect ratio used to display compositions in the composition picker view.

Deprecated
func compositionAspectRatio() -> NSSize

Retrieves the aspect ratio used to display compositions in the composition picker view.

Deprecated
func setSelectedComposition(QCComposition!)

Sets a composition as selected in the composition picker view.

Deprecated
func selectedComposition() -> QCComposition!

Returns the composition that is currently selected in the composition picker view.

Deprecated