---
title: "init(_:including:)"
framework: swift
role: symbol
role_heading: Initializer
path: "swift/dictionary/init(_:including:)-7afz2"
---

# init(_:including:)

## Declaration

```swift
init<S>(_ container: AttributeContainer, including scope: S.Type) throws where S : AttributeScope
```

## See Also

### Creating a Dictionary from an Attribute Container

- [init(_:including:)](swift/dictionary/init(_:including:)-8ls7v.md)
- [init(_:)](swift/dictionary/init(_:).md)
