---
title: "init(markup:supportedFeatureSet:)"
framework: paperkit
role: symbol
role_heading: Initializer
path: "paperkit/papermarkupviewcontroller/init(markup:supportedfeatureset:)"
---

# init(markup:supportedFeatureSet:)

Creates a new markup view controller with the provided data model.

## Declaration

```swift
@MainActor @preconcurrency init(markup: PaperMarkup? = nil, supportedFeatureSet: FeatureSet)
```

## Parameters

- `markup`: The data model to show on this canvas. The default value is nil.
- `supportedFeatureSet`: The features this view controller supports.

## Discussion

Discussion The canvas limits the edits that a person can make so they’re compatible with the feature set specified. If you set a supportedFeatureSet, also use a similar feature set to configure any MarkupToolbarViewController or MarkupEditViewController you use.
