DefaultColorLoader

constructor(context: Context?)

Parameters

context

the Context from which to load the color resources


actual constructor()
expect constructor()
constructor(bundle: <Error class: unknown class>, traitCollection: <Error class: unknown class>?)

Parameters

bundle

the NSBundle from which to load the color resource

traitCollection

The UITraitCollection that specifies the gamut to use when selecting the color.


actual constructor()
constructor(transformer: (String) -> KalugaColor?)

Parameters

transformer

method for getting a KalugaColor from a String identifier


actual constructor()
constructor(transformer: (String) -> KalugaColor?)

Parameters

transformer

method for getting a KalugaColor from a String identifier


actual constructor()