ColorResource

struct ColorResource : Hashable

A color resource.

  • An asset catalog color resource name.

    Declaration

    Swift

    fileprivate let name: String
  • An asset catalog color resource bundle.

    Declaration

    Swift

    fileprivate let bundle: Bundle
  • Initialize a ColorResource with name and bundle.

    Declaration

    Swift

    init(name: String, bundle: Bundle)