Contents

copy()

Creates a copy of an existing color.

Declaration

func copy() -> CGColor?

Return Value

A copy of the specified color. In Objective-C, you’re responsible for releasing this object using CGColorRelease.

See Also

Creating Colors