Title: Theory / Important / CS / Programming / Objective-C / Library / UIKit / UIColor
On every note of this deck, unless a note says otherwise:
Page: https://developer.apple.com/documentation/uikit/uicolor?language=objc
Page: https://developer.apple.com/documentation/uikit/uicolor/standard_colors?language=objc
Language: Objective-C
Typ: UIColor

Typ: UIColor
Meaning: An object that stores color data and sometimes opacity.
Page: https://developer.apple.com/documentation/uikit/uicolor?language=objc
Language: Objective-C

Variable: color.tintColor
Meaning: UIColor ?
Language: Objective-C
Variables: UIColor color

Variable: color.systemMintColor
Meaning: UIColor ?
Language: Objective-C
Variables: UIColor color

Variable: color.systemCyanColor
Meaning: UIColor ?
Language: Objective-C
Variables: UIColor color

Variable: color.accessibilityName
Meaning: A localized description of the color for accessibility attributes.
Language: Objective-C
Variables: UIColor color

Instruction: [color
  resolvedColorWithTraitCollection:traitCollection
]
Page: https://developer.apple.com/documentation/uikit/uicolor?language=objc
Language: Objective-C
Returns: the version of the current color that results from the specified traits.
Variables: UIColor color

Instruction: [color
  getWhite:white
  alpha:alpha
]
Page: https://developer.apple.com/documentation/uikit/uicolor?language=objc
Effect: set white and alpha to the gray and alpha values of color
Language: Objective-C
Returns: whether the operation was succesful
Variables: UIColor color

Instruction: [color
  getRed:red
  green:green
  blue:blue
  alpha:alpha
]
Page: https://developer.apple.com/documentation/uikit/uicolor?language=objc
Effect: set red, green, blue and alpha to the gray and alpha values of color
Language: Objective-C
Returns: whether the operation was succesful
Variables: UIColor color

Instruction: [color
  getHue:hue
  saturation:saturation
  brightness:brightness
  alpha:alpha
]
Page: https://developer.apple.com/documentation/uikit/uicolor?language=objc
Effect: set hue, saturation, brightness and alpha to the gray and alpha values of color
Language: Objective-C
Variables: UIColor color

Instruction: [color
  CGColor
]
Page: https://developer.apple.com/documentation/uikit/uicolor?language=objc
Language: Objective-C
Returns: The Quartz color that corresponds to the color object.
Variables: UIColor color
Typ: CGColorRef

Instruction: [color
  setStroke
]
Page: https://developer.apple.com/documentation/uikit/uicolor?language=objc
Effect: Sets the color of subsequent stroke operations to the color that the receiver represents.
Language: Objective-C
Variables: UIColor color

Instruction: [color
  setFill
]
Page: https://developer.apple.com/documentation/uikit/uicolor?language=objc
Effect: Sets the color of subsequent fill operations to the color that the receiver represents.
Language: Objective-C
Variables: UIColor color

Instruction: [color
  set
]
Page: https://developer.apple.com/documentation/uikit/uicolor?language=objc
Effect: Sets the color of subsequent stroke and fill operations to the color that the receiver represents.
Language: Objective-C
Variables: UIColor color

Variable: color.CIColor
Meaning: The Core Image color that corresponds to the color object.
Language: Objective-C
Typ: CIColor
Variables: UIColor color

Variable: color.CGColor
Meaning: The Quartz color that corresponds to the color object.
Language: Objective-C
Variables: UIColor color

Typ: CGColorSpaceRef
Meaning: A profile that specifies how to interpret a color value for display.
Page: https://developer.apple.com/documentation/uikit/uicolor?language=objc
Language: Objective-C

Instruction: [UIColor
  colorWithPatternImage:image
]
[[UIColor alloc]
  initWithPatternImage:image
]
Page: https://developer.apple.com/documentation/uikit/uicolor/color_creation?language=objc
Effect: Creates a color object using the specified image.
Language: Objective-C

Instruction: [UIColor
  colorWithCGColor:cgColor
]
[[UIColor alloc]
  initWithCGColor:cgColor
]
Page: https://developer.apple.com/documentation/uikit/uicolor/color_creation?language=objc
Language: Objective-C
Returns: a color object using the specified Quartz color reference.

Instruction: [UIColor
  colorWithCIColor:ciColor
]
[[UIColor alloc]
  initWithCIColor:ciColor
]
Page: https://developer.apple.com/documentation/uikit/uicolor/color_creation?language=objc
Language: Objective-C
Returns: Creates a color object that encapsulates a Core Image color.

Instruction: [UIColor
  colorWithDynamicProvider:dynamicProvider
]
[[UIColor alloc]
  initWithDynamicProvider:dynamicProvider
]
Page: https://developer.apple.com/documentation/uikit/uicolor/color_creation?language=objc
Language: Objective-C
Returns: A color object whose color information is provided by the specified block.

Instruction: [UIColor
  colorWithDisplayP3Red:red
  green:green
  blue:blue
  alpha:alpha
]
[[UIColor alloc]
  initWithDisplayP3Red:red
  green:green
  blue:blue
  alpha:alpha
]
Page: https://developer.apple.com/documentation/uikit/uicolor/color_creation?language=objc
Language: Objective-C
Returns: The color object with this red, green, blue and alpha in an extended range sRGB colorspace

Instruction: [UIColor
  colorWithRed:red
  green:green
  blue:blue
  alpha:alpha
]
[[UIColor alloc]
  initWithRed:red
  green:green
  blue:blue
  alpha:alpha
]
Page: https://developer.apple.com/documentation/uikit/uicolor/color_creation?language=objc
Language: Objective-C
Returns: The color object with this red, green, blue and alpha

Instruction: [UIColor
  colorWithHue:hue
  saturation:saturation
  brightness:brightness
  alpha:alpha
]
[[UIColor alloc]
  initWithHue:hue
  saturation:saturation
  brightness:brightness
  alpha:alpha
]
Page: https://developer.apple.com/documentation/uikit/uicolor/color_creation?language=objc
Language: Objective-C
Returns: The color object with this hue, saturation, brightness and alpha

Instruction: [UIColor
  colorWithWhite:white
  alpha:alpha
]
[[UIColor alloc]
  initWithWhite:white
  alpha:alpha
]
Page: https://developer.apple.com/documentation/uikit/uicolor/color_creation?language=objc
Language: Objective-C
Returns: A gray color with this amount of white and alpha

Instruction: [UIColor
  colorNamed:name
]
Page: https://developer.apple.com/documentation/uikit/uicolor/color_creation?language=objc
Language: Objective-C
Returns: Creates a color object using the information from the named asset.

Instruction: [UIColor
  colorNamed:name
  inBundle:bundle
  compatibleWithTraitCollection:traitCollection
]
Page: https://developer.apple.com/documentation/uikit/uicolor/color_creation?language=objc
Language: Objective-C
Returns: Creates a color object using the named asset that’s compatible with the specified trait collection.

Instruction: [color
  colorWithAlphaComponent:alpha
]
Page: https://developer.apple.com/documentation/uikit/uicolor/color_creation?language=objc
Language: Objective-C
Returns: color with alpha
Variables: UIColor color

Name: A system color
Definition: A color that adapts to dark mode
Page: https://developer.apple.com/documentation/uikit/uicolor/standard_colors?language=objc
Variables: UIColor color

Constant: system(Blue|Brown|Green...)Color
Meaning: The system color blue|brown|gren... . I.e. adapts to dark mode

Constant: systemGray(|2|3|4|5|6)Color
Meaning: A ith-level shade of gray that adapts to the environment.

Constant: clearColor
Meaning: A color object with grayscale and alpha values that are both 0.0.

Constant: (black|blue|brown|...)Color
Meaning: The color black|blue|brown... not adapting to dark mode

Constant: lightTextColor
Meaning: The nonadaptable system color for text on a dark background.

Constant: lankTextColor
Meaning: The nonadaptable system color for text on a light background.

Constant: linkColor
Meaning: The specified color for links.

Constant: opaqueSeparatorColor
Meaning: The color for borders or divider lines that hides any underlying content.

Constant: separatorColor
Meaning: The color for thin borders or divider lines that allows some underlying content to be visible.

Constant: tertiarySystemGroupedBackgroundColor
Meaning: The color for content layered on top of secondary backgrounds of your grouped interface.

Constant: secondarySystemGroupedBackgroundColor
Meaning: The color for content layered on top of the main background of your grouped interface.

Constant: systemGroupedBackgroundColor
Meaning: The color for the main background of your grouped interface.

Constant: tertiarySystemBackgroundColor
Meaning: The color for content layered on top of secondary backgrounds.

Constant: secondarySystemBackgroundColor
Meaning: The color for content layered on top of the main background.

Constant: systemBackgroundColor
Meaning: The color for the main background of your interface.

Constant: placeholderTextColor
Meaning: The color for placeholder text in controls or text views.

Constant: quaternarySystemFillColor
Meaning: An overlay fill color for large areas that contain complex content.

Constant: tertiarySystemFillColor
Meaning: An overlay fill color for large shapes.

Constant: secondarySystemFillColor
Meaning: An overlay fill color for medium-size shapes.

Constant: systemFillColor
Meaning: An overlay fill color for thin and small shapes.

Constant: (|secondary|teriary|quaternary)LabelColor
Meaning: The color for text labels that contain (|secondary|teriary|quaternary) content.

Typ: CIColor
Meaning: The component values defining a color in a specific color space.
todo
Page: https://developer.apple.com/documentation/coreimage/cicolor?language=objc
Language: Objective-C