---
title: NEFilterSettings
framework: networkextension
role: symbol
role_heading: Class
path: networkextension/nefiltersettings
---

# NEFilterSettings

The rules and other settings that define the operation of a filter.

## Declaration

```swift
class NEFilterSettings
```

## Overview

Overview NEFilterDataProvider instances use NEFilterSettings to communicate the desired settings for the filter to the framework. The framework takes care of applying the contained settings to the system.

## Topics

### Creating Filter Settings

- [init(rules:defaultAction:)](networkextension/nefiltersettings/init(rules:defaultaction:).md)
- [NEFilterRule](networkextension/nefilterrule.md)

### Inspecting Filter Settings

- [rules](networkextension/nefiltersettings/rules.md)
- [defaultAction](networkextension/nefiltersettings/defaultaction.md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCoding](foundation/nscoding.md)
- [NSCopying](foundation/nscopying.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [NSSecureCoding](foundation/nssecurecoding.md)

## See Also

### Changing filter settings

- [apply(_:completionHandler:)](networkextension/nefilterdataprovider/apply(_:completionhandler:).md)
