---
title: style
framework: quartzcore
role: symbol
role_heading: Instance Property
path: quartzcore/caemittercell/style
---

# style

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

## Declaration

```swift
var style: [AnyHashable : Any]? { get set }
```

## Discussion

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 defaultValue(forKey:) class method is called. The style dictionary is not consulted for the following keys: bounds, frame. The default value of this property is nil. warning: If the style dictionary or any of its ancestors are modified, the values of the cell’s properties are undefined until the style property is reset.

## See Also

### Setting Emitter Cell Visual Attributes

- [isEnabled](quartzcore/caemittercell/isenabled.md)
- [color](quartzcore/caemittercell/color.md)
- [redRange](quartzcore/caemittercell/redrange.md)
- [greenRange](quartzcore/caemittercell/greenrange.md)
- [blueRange](quartzcore/caemittercell/bluerange.md)
- [alphaRange](quartzcore/caemittercell/alpharange.md)
- [redSpeed](quartzcore/caemittercell/redspeed.md)
- [greenSpeed](quartzcore/caemittercell/greenspeed.md)
- [blueSpeed](quartzcore/caemittercell/bluespeed.md)
- [alphaSpeed](quartzcore/caemittercell/alphaspeed.md)
- [magnificationFilter](quartzcore/caemittercell/magnificationfilter.md)
- [minificationFilter](quartzcore/caemittercell/minificationfilter.md)
- [minificationFilterBias](quartzcore/caemittercell/minificationfilterbias.md)
- [scale](quartzcore/caemittercell/scale.md)
- [scaleRange](quartzcore/caemittercell/scalerange.md)
