---
title: "init(restriction:)"
framework: extensionfoundation
role: symbol
role_heading: Initializer
path: "extensionfoundation/appextensionpoint/scope/init(restriction:)"
---

# init(restriction:)

Initializes the scope type with the specified restriction value.

## Declaration

```swift
init(restriction: AppExtensionPoint.Scope.Restriction = .application)
```

## Parameters

- `restriction`: The binding restriction for app extensions. If you don’t specify a value, only app extensions inside the host app may bind to it.

## See Also

### Creating a scope attribute

- [AppExtensionPoint.Scope.Restriction](extensionfoundation/appextensionpoint/scope/restriction.md)
