Functions
The following functions are available globally.
-
Creates laid out artboards and symbols for the given
ArtboardRepresentabletypesDeclaration
Swift
public func makeArtboardsAndSymbols(from providers: [[ArtboardRepresentable.Type]], padding: CGFloat = 80) -> (artboards: [Artboard], symbols: [SymbolMaster])Parameters
providersArray 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
SymbolRepresentablewill also produceSymbolMasters. These will follow the same layout rules as artboardspaddingPadding between neighboring artbords and symbols
Functions Reference