---
title: contentFilters
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsview/contentfilters
---

# contentFilters

An array of Core Image filters to apply to the contents of the view and its sublayers.

## Declaration

```swift
var contentFilters: [CIFilter] { get set }
```

## Discussion

Discussion This property contains an array of CIFilter objects. This array represents the filters stored in the filters property of the view’s layer. If the view does not have a layer, setting the value of this property has no effect. The default value of this property is an empty array.

## See Also

### Managing Layer-Related Properties

- [alphaValue](appkit/nsview/alphavalue.md)
- [frameCenterRotation](appkit/nsview/framecenterrotation.md)
- [backgroundFilters](appkit/nsview/backgroundfilters.md)
- [compositingFilter](appkit/nsview/compositingfilter.md)
- [shadow](appkit/nsview/shadow.md)
