Instance Property

contents

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

Declaration

@property(strong) id contents;

Discussion

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

The default value of this property is nil.

See Also

Providing Emitter Cell Content

contentsRect

A rectangle (in the unit coordinate space) that specifies the portion of contents that the receiver should draw. Animatable.

emitterCells

An optional array containing the sub-cells of this cell.