Type Safely

Type Safely

Pass Data Between Settings and Other Scenes In a SwiftUI macOS App

Daily Coding Tip 169

Millie Sturgeon's avatar
Millie Sturgeon
Sep 09, 2022
∙ Paid
black and white metal tool

I created a new Mac project, and without thinking I called it MacApp. This created a file called MacAppApp, in which a structure called MacAppApp conforms to the App protocol.

If you have a better name for your Mac app, you’re welcome to use it.

The next thing I’m going to do is create SettingsView.

In order to communicate with other scenes, this view is…

User's avatar

Continue reading this post for free, courtesy of Type Safely.

Or purchase a paid subscription.
© 2026 Type Safely · Privacy ∙ Terms ∙ Collection notice
Start your SubstackGet the app
Substack is the home for great culture