Introducing @SceneStorage in SwiftUI

Mark van Wijnen
4 min readSep 27, 2020

What is a Scene?

Before we dive into Scene Storage we need to talk about what a Scene is first. The Scene protocol was first introduced in the App essentials in SwiftUI talk from WWDC 2020. You can look at a Scene as an instance of your App. On macOS you can have multiple instances of your App in the shape of Windows or Window Tabs and on iPad you can have two instances open side-by-side…

--

--

Mark van Wijnen

macOS/iPadOS/iOS/watchOS/visionOS developer and SwiftUI enthousiast. “Stay Hungry, Stay Foolish!” — Steve Jobs