Contents

init(symbolName:bundle:variableValue:)

Creates a symbol image with the specified symbol name and variable value.

Declaration

convenience init?(symbolName name: String, bundle: Bundle?, variableValue value: Double)

Parameters

  • name:

    The name of the symbol image.

  • bundle:

    The bundle containing the image file or asset catalog.

  • value:

    The value the system uses to customize the symbol’s content, between 0 and 1.

Discussion

The value parameter is valid for symbols that support variable rendering.

See Also

Creating Images by Name