Prestyler
public class Prestyler
Prestyler provides static methods to manage rules.
-
Defines new rule using patters and styles to apply.
Declaration
Swift
static public func defineRule(_ pattern: String, _ styles: Any...)Parameters
patternpattern, for example
stylescan be objects of sdifferent types, including Int, UIColor, Prestyle etc.
-
Declaration
Swift
static public func removeAllRules()
Prestyler Class Reference