ColorResource

struct ColorResource : Swift.Hashable, Swift.Sendable

A color resource.

  • An asset catalog color resource name.

    Declaration

    Swift

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

    Declaration

    Swift

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

    Declaration

    Swift

    init(name: Swift.String, bundle: Foundation.Bundle)

Color Symbols

  • The “AccentColor” asset catalog color resource.

    Declaration

    Swift

    static let accent: ColorResource
  • The “SelectionTintColor” asset catalog color resource.

    Declaration

    Swift

    static let selectionTint: ColorResource
  • The “ThrobberColor” asset catalog color resource.

    Declaration

    Swift

    static let throbber: ColorResource

Thinnable Asset Support