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
pattern
pattern, for example
styles
can be objects of sdifferent types, including Int, UIColor, Prestyle etc.
-
Declaration
Swift
static public func removeAllRules()