SymbolRepresentable

public protocol SymbolRepresentable : ArtboardRepresentable

Creates an Artboard and SymbolMasters out of elements provided by artboardElements().

The Artboard created by makeArtboard(origin:) contain layers of type SymbolInstance

The SymbolMasters created by makeSymbols(startingOrigin:exportDictionary:) must be present somewhere in the Document

  • makeSymbols(startingOrigin:) Default implementation

    Generates SymbolMasters that represent the conforming type

    Default Implementation

    Creates a set of SymbolMaster out of the elements provided in artboardElements()

    SymbolMaster elements are laid out in the same fashion as they are inside the Artboard generated by makeArtboard(origin:)

    Declaration

    Swift

    static func makeSymbols(startingOrigin: CGPoint) -> [SymbolMaster]

    Parameters

    startingOrigin

    Origin of the first SymbolMaster in the list