Contents

borderColor

The color of the layer’s border. Animatable.

Declaration

var borderColor: CGColor? { get set }

Discussion

The default value of this property is an opaque black color.

The value of this property is retained using the Core Foundation retain/release semantics. This behavior occurs despite the fact that the property declaration appears to use the default assign semantics for object retention.

See Also

Modifying the layer’s appearance