---
title: "init(bitPattern:)"
framework: swift
role: symbol
role_heading: Initializer
path: "swift/int/init(bitpattern:)-2o9co"
---

# init(bitPattern:)

Creates an integer that captures the full value of the given object identifier.

## Declaration

```swift
init(bitPattern objectID: ObjectIdentifier)
```

## See Also

### Working with Memory Addresses

- [init(bitPattern:)](swift/int/init(bitpattern:)-2i0qy.md)
- [init(bitPattern:)](swift/int/init(bitpattern:)-5qm7a.md)
