Declaration

unowned(unsafe) var foreground: GSLayer! { get set }

Declaration

@property (nonatomic, unsafe_unretained) GSLayer * foreground;

Declaration

foreground() -> GSLayer
setForeground_(foreground: GSLayer)

Discussion

The foreground layer owns its background layer. Do not retain a background layer beyond the lifetime of its foreground layer.