---
title: NEAppRule
framework: networkextension
role: symbol
role_heading: Class
path: networkextension/neapprule
---

# NEAppRule

The identity of an app whose traffic is to be routed through the tunnel.

## Declaration

```swift
class NEAppRule
```

## Topics

### Initializing an app rule

- [init(signingIdentifier:)](networkextension/neapprule/init(signingidentifier:).md)
- [init(signingIdentifier:designatedRequirement:)](networkextension/neapprule/init(signingidentifier:designatedrequirement:).md)

### Accessing app rule properties

- [matchSigningIdentifier](networkextension/neapprule/matchsigningidentifier.md)
- [matchDesignatedRequirement](networkextension/neapprule/matchdesignatedrequirement.md)
- [matchPath](networkextension/neapprule/matchpath.md)
- [matchDomains](networkextension/neapprule/matchdomains.md)
- [matchTools](networkextension/neapprule/matchtools.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

### VPN configuration

- [NEAppProxyProviderManager](networkextension/neappproxyprovidermanager.md)
- [NETunnelProviderManager](networkextension/netunnelprovidermanager.md)
- [NEVPNManager](networkextension/nevpnmanager.md)
- [NETunnelProviderProtocol](networkextension/netunnelproviderprotocol.md)
- [VPN On Demand Rules](networkextension/vpn-on-demand-rules.md)
