Contents

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