UIColor.getColor()
Returns a color reference by name.
static getColor(name: string): UIColor;
Notes
- The returned instance dynamically resolves to the named color.
- Results are cached and reused for subsequent calls with the same name.
Parameters
- name — The name of the color to retrieve.
Return value
A UIColor instance that resolves to the named color.
Related
class UIColor
A class that represents a single color value.
