---
title: "init(coder:)"
framework: roomplan
role: symbol
role_heading: Initializer
path: "roomplan/roomcaptureview/init(coder:)"
---

# init(coder:)

Creates a view by deserializing from the specified coder.

## Declaration

```swift
@MainActor @preconcurrency required dynamic init?(coder: NSCoder)
```

## Parameters

- `coder`: An object from which the view deserializes.

## Overview

Overview This property inherits from UIView.

## See Also

### Creating a room-capture view

- [init(frame:arSession:)](roomplan/roomcaptureview/init(frame:arsession:).md)
- [init(frame:)](roomplan/roomcaptureview/init(frame:).md)
