One Logo Pool Ball
DeveloperToolsSupport · IOS API REFERENCE

ColorResource

struct · iOS 17.0+ · SDK 27.1

struct ColorResource

A color resource.

Members (1)

init · iOS 17.0+

init

TypeScript
static init(name: string, bundle: _Foundation_Bundle): ColorResource
Swift declaration
init(name: String, bundle: Bundle)

Creates a color from a resource with the specified name in the given bundle.

Skipped declarations

No declarations were skipped in this snapshot.

All DeveloperToolsSupport types →