Contents

contents

An object that provides the contents of the layer. Animatable.

Declaration

var contents: Any? { get set }

Discussion

A layer can set this property to a CGImage to display the image as its contents.

The default value of this property is nil.

See Also

Providing Emitter Cell Content