Functions
The following functions are available globally.
-
Creates laid out artboards and symbols for the given
ArtboardRepresentable
typesDeclaration
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 produceSymbolMasters
. These will follow the same layout rules as artboardspadding
Padding between neighboring artbords and symbols