Contents

foregroundColor

The color used to render the receiver’s text. Animatable.

Declaration

var foregroundColor: CGColor? { get set }

Discussion

Defaults to opaque white.

The foregroundColor property is only used when the string property is not an NSAttributedString.

See Also

Text Visual Properties