Crystal
public class Crystal
The main Crystal class. Instead of creating a Crystal object, you use shared Crystal.shared singleton to manage themes.
In order to use Crystal, you must make Crystal conform to CrystalDetermined protocol, which is also the opportunity for
you to determine the concrete theme type.
Take a look at CrystalDetermined to learn about all the available methods and properties you can use.
-
Returns the singleton Crystal instance.
Declaration
Swift
public static let shared: Crystal
View on GitHub
Install in Dash
Crystal Class Reference