SymbolInstance

public class SymbolInstance : Layer

Instance of a Symbol in Sketch.

References a SymbolMaster.

Must have the same name as the SymbolMaster it’s referencing

  • Creates a SymbolInstance that references a SymbolMaster

    Declaration

    Swift

    public init(name: String, frame: CGRect)

    Parameters

    name

    Name of the SymbolMaster being referenced

    frame

    Frame of the SymbolInstance inside its parent container

  • Declaration

    Swift

    required public init?(json: [String : Any])