Instance Method

loadComposition(fromFile:)

Loads the composition file located at the specified path.

Declaration

func loadComposition(fromFile path: String!) -> Bool

Parameters

path

A string that specifies the location of a Quartz Composer composition file.

Return Value

If unsuccessful, returns false; any composition that’s already loaded in the view remains loaded.

See Also

Loading a Composition

func load(QCComposition!) -> Bool

Loads a QCComposition object into the view.

Deprecated
func loadedComposition() -> QCComposition!

Returns the composition loaded in the view.

Deprecated
func unloadComposition()

Unloads the composition from the view.

Deprecated