Instance Property

style

An optional dictionary containing additional style values that are not explicitly defined by the receiver.

Declaration

@property(copy) NSDictionary *style;

Discussion

This dictionary may in turn have a style key, forming a hierarchy of default values. In the case of hierarchical style dictionaries the shallowest value for a property is used. For example, the value for “style.someValue” takes precedence over “style.style.someValue”.

If the style dictionary doesn't define a value for an attribute, the cell’s defaultValueForKey: class method is called.

The style dictionary is not consulted for the following keys: bounds, frame.

The default value of this property is nil.

See Also

Setting Emitter Cell Visual Attributes

enabled

A Boolean value indicating whether or not cells from this emitter are rendered.

color

The color of each emitted object. Animatable.

redRange

The amount by which the red color component of the cell can vary. Animatable.

greenRange

The amount by which the green color component of the cell can vary. Animatable.

blueRange

The amount by which the blue color component of the cell can vary. Animatable.

alphaRange

The amount by which the alpha component of the cell can vary. Animatable.

redSpeed

The speed, in seconds, at which the red color component changes over the lifetime of the cell. Animatable.

greenSpeed

The speed, in seconds, at which the green color component changes over the lifetime of the cell. Animatable.

blueSpeed

The speed, in seconds, at which the blue color component changes over the lifetime of the cell. Animatable.

alphaSpeed

The speed, in seconds, at which the alpha component changes over the lifetime of the cell. Animatable.

magnificationFilter

The filter used when increasing the size of the content.

minificationFilter

The filter used when reducing the size of the content.

minificationFilterBias

The bias factor used by the minification filter to determine the levels of detail.

scale

Specifies the scale factor applied to the cell. Animatable.

scaleRange

Specifies the range over which the scale value can vary. Animatable.

contentsScale

The scale factor of the cell contents.

name

The name of the cell.