CALayer

class CALayer : NSObject, NSSecureCoding, CAMediaTiming
  • The color of the layer’s border. Animatable. 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.

    Declaration

    Swift

    var borderUIColor: UIColor? { get set }
  • The color of the layer’s shadow. Animatable. 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.

    Declaration

    Swift

    var shadowUIColor: UIColor? { get set }