NSUserActivity with SwiftUI

Available on all of Apple's platforms, the NSUserActivity type provides a way to capture the state of an app and use it at a later point in time. It powers several capabilities such as Universal Links, Handoff, and SiriKit. In this post, Javier presents a series of examples demonstrating the methods SwiftUI provides to work with NSUserActivity.