Initializer

init(_:bundle:)

Creates a named color.

Declaration

init(_ name: String, bundle: Bundle? = nil)

Parameters

name

the name of the color resource to lookup.

bundle

the bundle to search for the color resource in.