Classes
The following classes are available globally.
-
Represents a Sketch artboard Artboards act as containers for other layers
See moreDeclaration
Swift
public class Artboard : LayerContainer
-
Represents an RGB color in Sketch
See moreDeclaration
Swift
public class Color : NSObject, JSONDictEncodable
-
Represents a Group in Sketch. Container for other layer types.
See moreDeclaration
Swift
public class Group : LayerContainer
-
Represents a generic Sketch layer. This is the base class for all the layer types
This is an abstract class, do not instantiate directly!
See moreDeclaration
Swift
public class Layer : NSObject, JSONDictEncodable
-
Represents a SymbolMaster in sketch, these should go in their own special separate Symbols Page. If you want to have nested dropdowns use a
See more/
in the name. i.e.Button/Blue/Small
Declaration
Swift
public class SymbolMaster : LayerContainer
-
Instance of a Symbol in Sketch.
References a
SymbolMaster
.Must have the same name as the SymbolMaster it’s referencing
See moreDeclaration
Swift
public class SymbolInstance : Layer