SwiftUI macOS app tutorial: Build a Notes App (Beginner Tutorial β 2025)
Learn how to build your first macOS desktop app using SwiftUI! In this beginner-friendly tutorial, weβll walk through every step of creating a functional Not...

NDC
7.2K views β’ Jun 27, 2025

About this video
Learn how to build your first macOS desktop app using SwiftUI! In this beginner-friendly tutorial, weβll walk through every step of creating a functional Notes app for Mac, using NavigationSplitView, state management, toolbars, and more.
This is the perfect starting point if youβre an iOS developer exploring the desktop world β or a total Swift beginner looking to build your first real macOS app.
π§ What Youβll Learn:
β How to create a macOS SwiftUI project in Xcode
β Build a functional sidebar + detail layout
β Use @State, @Binding, and list selection
β Add native macOS features like toolbars
β Understand how navigation and editing work differently from iOS
π― By the end, youβll have a working Notes app that feels right at home on the Mac β and a solid foundation for future macOS development!
Clone or download the full demo project here:
π GitHub Repo: https://github.com/NDCSwift/MacOSNotesApp
π₯ Download My Project Files & More! π₯
π Get the source code for this project & other Swift resources here:
π https://ndcswift.github.io/Swift-Projects/
β±οΈTimestamps
00:00 β Intro
00:25 β Example of what we're building
00:46 β Creating a new MacOS project on Xcode
01:24 β SwiftUI Preview with MacOS
01:55 β Notes Struct
02:49 β Adding our Notes to ContentView
04:44 β Designing our User Interface with NavigationSplitView
05:48 β List & Looping through our notes
09:27 β Making our Notes hashable
09:55 β Using the Preview to test our app
10:10 β Adding toolbar
12:04 β Testing on your Mac
12:30 β Adding Binding to our Notes
14:45 β Creating a NoteDetailView for our Notes
15:25 β Fixing Preview with Bindings
16:22 β Getting User input for Notes
19:40 β Updating our Detail
21:16 β Using tag to "click to navigate"
21:55 β Code Review
24:19 β Wrap Up
This is the perfect starting point if youβre an iOS developer exploring the desktop world β or a total Swift beginner looking to build your first real macOS app.
π§ What Youβll Learn:
β How to create a macOS SwiftUI project in Xcode
β Build a functional sidebar + detail layout
β Use @State, @Binding, and list selection
β Add native macOS features like toolbars
β Understand how navigation and editing work differently from iOS
π― By the end, youβll have a working Notes app that feels right at home on the Mac β and a solid foundation for future macOS development!
Clone or download the full demo project here:
π GitHub Repo: https://github.com/NDCSwift/MacOSNotesApp
π₯ Download My Project Files & More! π₯
π Get the source code for this project & other Swift resources here:
π https://ndcswift.github.io/Swift-Projects/
β±οΈTimestamps
00:00 β Intro
00:25 β Example of what we're building
00:46 β Creating a new MacOS project on Xcode
01:24 β SwiftUI Preview with MacOS
01:55 β Notes Struct
02:49 β Adding our Notes to ContentView
04:44 β Designing our User Interface with NavigationSplitView
05:48 β List & Looping through our notes
09:27 β Making our Notes hashable
09:55 β Using the Preview to test our app
10:10 β Adding toolbar
12:04 β Testing on your Mac
12:30 β Adding Binding to our Notes
14:45 β Creating a NoteDetailView for our Notes
15:25 β Fixing Preview with Bindings
16:22 β Getting User input for Notes
19:40 β Updating our Detail
21:16 β Using tag to "click to navigate"
21:55 β Code Review
24:19 β Wrap Up
Tags and Topics
Browse our collection to discover more content in these categories.
Video Information
Views
7.2K
Likes
170
Duration
24:52
Published
Jun 27, 2025
User Reviews
4.6
(1) Related Trending Topics
LIVE TRENDSRelated trending topics. Click any trend to explore more videos.
No specific trending topics match this video yet.
Explore All Trends