what I can do with PaperKit>

Asked on 06/18/2025

1 search

PaperKit is a framework introduced by Apple that powers a rich markup experience across various apps like Notes, Screenshots, Quick Look, and the Journal app. It provides a canvas that supports both drawing and a variety of markup elements, such as shapes, images, and text boxes. Here are some key features and components of PaperKit:

  1. Markup Controller: Known as the Paper Markup View Controller, it interactively creates and displays PaperKit markup and drawing.

  2. Data Model Container: Called Paper Markup, it handles saving, loading, and rendering of both PaperKit markup and PencilKit drawing data.

  3. Insertion Menu: Allows annotation with markup elements into the canvas. On iOS, iPadOS, and VisionOS, this is called a markup edit view controller, while on macOS, a new toolbar called Markup Toolbar View Controller is available.

  4. Integration: PaperKit can be seamlessly integrated into a SwiftUI environment, allowing UIKit-based components to be used within a SwiftUI layout.

  5. Customization: You can customize the markup experience by defining a feature set, which includes the capabilities and tools exposed to both the markup and insertion controllers. This allows for a tailored markup experience in your app.

  6. HDR Support: You can enable HDR support in your markup by setting the Color Maximum linear exposure property on the feature set.

For more detailed information on how to get started with PaperKit and customize it for your app, you can refer to the session Meet PaperKit (01:36).