Classes
The following classes are available globally.
-
The main Crystal class. Instead of creating a
Crystal
object, you use sharedCrystal.shared
singleton to manage themes.In order to use Crystal, you must make
Crystal
conform toCrystalDetermined
protocol, which is also the opportunity for you to determine the concrete theme type.Take a look at
See moreCrystalDetermined
to learn about all the available methods and properties you can use.Declaration
Swift
public class Crystal
-
Wrapper for crystal compatible types.
See moreDeclaration
Swift
public class Crystalline<Target, Theme> : CrystallineType where Target : AnyObject, Theme : CrystalThemeType