Functions

The following functions are available globally.

  • Creates laid out artboards and symbols for the given ArtboardRepresentable types

    Declaration

    Swift

    public func makeArtboardsAndSymbols(from providers: [[ArtboardRepresentable.Type]], padding: CGFloat = 80) -> (artboards: [Artboard], symbols: [SymbolMaster])

    Parameters

    providers

    Array of columns of artboards. i.e. [[a], [b]] will layout a and b side by side while [[a, b]] will layout a and b vertically. Providers that conform to SymbolRepresentable will also produce SymbolMasters. These will follow the same layout rules as artboards

    padding

    Padding between neighboring artbords and symbols