init(name:bundle:)

Creates a color from a resource with the specified name in the given bundle.

Declaration

init(name: String, bundle: Bundle)