SymbolMaster
public class SymbolMaster : LayerContainer
Represents a SymbolMaster in sketch, these should go in their own special separate Symbols Page.
If you want to have nested dropdowns use a /
in the name. i.e. Button/Blue/Small
-
Creates a SymbolMaster that can be referenced by a
SymbolInstanceDeclaration
Swift
public init(name: String, frame: CGRect, layers: [Layer])Parameters
nameName as it appears in sketch. Must be Unique. Use a
/
in the name to create nested dropdowns. i.e.Button/Blue/SmallframeFrame of the SymbolMaster inside its parent
PagelayersChild layers that are contained inside the SymbolMaster
-
Declaration
Swift
required public init?(json: [String : Any])
SymbolMaster Class Reference