Contents

addCollection(_:options:)

Adds a specified font collection to the font manager with a given set of options.

Declaration

func addCollection(_ collectionName: String, options collectionOptions: NSFontCollectionOptions = []) -> Bool

Parameters

  • collectionName:

    The collection to add.

  • collectionOptions:

    The option described in Font Collection Mask. This option is not yet implemented.

Return Value

true if the font collection was successfully added; otherwise, false.

See Also

Methods