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)

Color Symbols

  • The “AccentColor” asset catalog color resource.

    Declaration

    Swift

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

    Declaration

    Swift

    static let center: ColorResource
  • The “Delete-Color” asset catalog color resource.

    Declaration

    Swift

    static let delete: ColorResource
  • The “DisabledSegmentColor” asset catalog color resource.

    Declaration

    Swift

    static let disabledSegment: ColorResource
  • The “Final-Color” asset catalog color resource.

    Declaration

    Swift

    static let final: ColorResource
  • The “Paused-Color” asset catalog color resource.

    Declaration

    Swift

    static let paused: ColorResource
  • The “PickerTextColor” asset catalog color resource.

    Declaration

    Swift

    static let pickerText: ColorResource
  • The “SegSwitchColor” asset catalog color resource.

    Declaration

    Swift

    static let segSwitch: ColorResource
  • The “Start-Color” asset catalog color resource.

    Declaration

    Swift

    static let start: ColorResource
  • The “StartupLogoColor” asset catalog color resource.

    Declaration

    Swift

    static let startupLogo: ColorResource
  • The “ToolbarColor” asset catalog color resource.

    Declaration

    Swift

    static let toolbar: ColorResource
  • The “Warn-Color” asset catalog color resource.

    Declaration

    Swift

    static let warn: ColorResource