How to build a macOS app for beginners (2023, Swift, SwiftUI, Xcode 15) - mac development course
Vložit
- čas přidán 6. 06. 2024
- Build your first macos app with SwiftUI. In this mini course, I'm excited to provide you with a foundational introduction to creating macOS applications using Swift and SwiftUI within Xcode 15. Whether you're taking your first steps into programming or venturing into the realm of macOS development, this video is tailored to give you a head start in 2023.
This tutorial serves as your stepping stone into the world of macOS app development.
Ready to build for macOS? Join me in this exploration, and if you find this introductory guide valuable, remember to like, share, and subscribe. Stay tuned for more insights into mastering macOS development!
I am using macOS 14 and Xcode 15
⬇️ Project download: github.com/gahntpo/macOS-Deve...
overview:
00:00 Introduction
05:07 Project setup
06:15 Defining data models for task manager
12:44 Sidebar view and Task list view
17:01 NavigationSplitView on macOS
19:32 Adding new task groups and tasks
29:02 Testing NavigationSplitView on iOS
30:45 Search text field
33:11 Macos specifics: keyboard shortcuts and menu
39:16 Inspector for macOS 14
45:15 Window title
45:48 Additional window types
47:32 Programmatically opening new window
49:08 Adding a Settings window
51:22 wrap up
Resources
📺 Xcode tutorial: • Xcode 14 Tutorial - Be...
📺 Search: • SwiftUI Search Bar - H...
IIf you liked what you learned and you want to see more, check out one of my courses!
👨💻 my SwiftUI course learn.swiftyplace.com/swiftui...
👨💻 my Core Data and SwiftUI course learn.swiftyplace.com/swiftui...
#MacosDevelopment #swiftui #Xcode
Learn more in depth about macOS development with my new course. learn.swiftyplace.com/macos-development-swiftui-course
What's amazing is that I precisely wanted to make a task management app in swiftUI and was looking for swiftUi tutorials, only to find literally the exact thing I needed! Life is funny sometimes.
Thanks a lot. Great video! I learned a lot. I also like your fast style of presenting. No time wasted.
Amazing tutorial. Underrated!
Thank Karin. This is just an awesome project. I get to learn so much from this.
Thanks so much! Like your teaching style!
Thank you for the video. I've learned so much.
Thank you so much for these lessons.
You're the best Karin!
Awesome video!!
I want to start learn SwiftUI via a Todo App. This is exactly what I tried to find. Thanks a lot.
super super cool. Thank you very much. Maybe, go by you course
That’s what I need!!!!!🎉🎉🎉
thanks more on this please
thank you so much karin if you can do a full course on Mac OS apps with swift ui that would be awesome
Meine Heldin des Jahres!
Hi Karin can you make video on concurrency concepts and mvvm architecture in swift in more details
Thank you for this! There's so little good up to date info on MacOS development out there...
Fortunately,iOS and macOS can share same codebase
@@natgenesis5038 lol
Great tutorial, now I got really started in SwiftUI, it's much nicer than working with the old GUI editor and has similar functional concepts like React
Thank You so much for this tutorial! Is there a tutorial how to add attributes to an existing model? Adding a simple text-field for some details to the task will crash...
Do you know any widget development ? Def would be interested in seeing a Widget & firebase data retrieval kinda tutorial
Very good tutorial! There is a question I want to ask. Why use struct instead of class to define your model, since struct is value Type, class is reference type with more efficiency when passing through functions
Karin, first of all, thank you very much for your video. I've been looking for good tutorials to learn Swift for macOS for a while now. There are plenty of them for iOS, but unfortunately only a few for macOS. Yours caught my eye because you program a mini application as an example, basically exactly what I'm planning to do. But that's already my dilemma. I can sense your expertise and experience in Swift coding, but the video is probably aimed more at experienced programmers and not so much at beginners like me. I'm confused by a lot of the technical terms you use, and the coding of the examples is so fast-paced that it's not always clear to me what you're actually inserting at that moment and why. I understand that experienced coders don't want to bother with the basics, but that's exactly what I was looking for: To code a Mac app from scratch, with a customized pace for beginners, but with an end result that increases the understanding of Swift coding on the Mac. Unfortunately, that's why the tutorial didn't help me much, but that's not your fault, but rather mine. I'll keep looking ... Thanks for your video anyway and good luck.
Did you ever find any good sources? I come from a Windows OS background but wanted to try app development on the MacBook Pro I recently bought. When it comes to Windows desktop app development, man, there's no shortage of teaching sources out there, but for Mac? Crickets. Most tutorials want to steer you toward iOS, but I want to try desktop app development. The Mac world seems to be pretty sparse on sources when it comes to beginners on that. Maybe desktop app development just isn't that important in the Apple world, unfortunately.
Do you have any videos where you refactor and cleanup someone else's code. I find it's the best way to learn new topics because you always learn new ways of doing things.
github can help with that
Great content as usual Karin. In the future you're going to do this with CoreData? It would be great to see Building a Mac App with SwiftData. Thank You
I have a question do you have a course for iOS 15 Target
Hi Karin, nice Videos, thanks for that, was very helpful.
One question... @48:30 you show one of your finished apps, there you have an extra Button next to the toggle left sidebar button on the sidebar.
How did you get this Button there? I searched around the internet but could not find an solution.
Thanks for your tip.
i could solve this by my own. the secret is to set the toolbar at the right place...
👏👏👏
Mam please start swiftUI playlist from scratch to end ...
Thank you so much for these lessons!!! I've just started learning Swift and these lessons are priceless!!!!
i LOVE U
The abrupt code changes in edit and moving to another file made this very difficult to follow.
❤
I just started the video, but the use of radio buttons (which are supposed to be only one-choice possible) instead of checkboxes, on the very first screen, makes me skeptical that this will be a good series.
it looks similar to IOS
you lost me around 8:00 I have no clue whats happening I need something way more "beginner"...
Android studio better
This is good content, BUT it is way too fast. You speak very quickly. This video was evidently designed for people to code along, but you move so quickly that the amount of times I had to start and stop was crazy. I'd recommend pacing your future videos and allotting at least an additional 30 minutes for the amount of content you covered here.
I disagree. I think the pacing is excellent, and allows for a quick overview of the major features of macOS SwiftUI development. Any parts that need clarification can be replayed.
I disagree, you can put speed at 0.25x
Because for example for me it is way too slow and I watch at 2x speed and it is still too slow
MacOS shouldn't be done in SwiftUI.