How to build a macOS app for beginners (2023, Swift, SwiftUI, Xcode 15) - mac development course

Sdílet
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

Komentáře • 49

  • @SwiftyPlace
    @SwiftyPlace  Před 18 dny

    Learn more in depth about macOS development with my new course. learn.swiftyplace.com/macos-development-swiftui-course

  • @agetroskilef-gi7dr
    @agetroskilef-gi7dr Před 6 měsíci +5

    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.

  • @AtomicKnights
    @AtomicKnights Před 6 měsíci +1

    Thanks a lot. Great video! I learned a lot. I also like your fast style of presenting. No time wasted.

  • @jamesli8559
    @jamesli8559 Před 5 měsíci +2

    Amazing tutorial. Underrated!

  • @sulavjunghamal
    @sulavjunghamal Před 6 měsíci +1

    Thank Karin. This is just an awesome project. I get to learn so much from this.

  • @enaungong
    @enaungong Před 3 měsíci

    Thanks so much! Like your teaching style!

  • @evarilci
    @evarilci Před 9 měsíci

    Thank you for the video. I've learned so much.

  • @i8r4him
    @i8r4him Před 9 měsíci

    Thank you so much for these lessons.

  • @mohamethseck
    @mohamethseck Před 3 měsíci +1

    You're the best Karin!

  • @SS-ow8iy
    @SS-ow8iy Před 9 měsíci

    Awesome video!!

  • @jasonzheng5454
    @jasonzheng5454 Před 5 měsíci

    I want to start learn SwiftUI via a Todo App. This is exactly what I tried to find. Thanks a lot.

  • @J2UA
    @J2UA Před 2 měsíci

    super super cool. Thank you very much. Maybe, go by you course

  • @martinq872
    @martinq872 Před 9 měsíci

    That’s what I need!!!!!🎉🎉🎉

  • @sukivirus
    @sukivirus Před 9 měsíci +1

    thanks more on this please

  • @Lueglam
    @Lueglam Před 6 měsíci

    thank you so much karin if you can do a full course on Mac OS apps with swift ui that would be awesome

  • @vladimirschreiner6226
    @vladimirschreiner6226 Před 4 měsíci

    Meine Heldin des Jahres!

  • @JustTest-em4gd
    @JustTest-em4gd Před 9 měsíci +1

    Hi Karin can you make video on concurrency concepts and mvvm architecture in swift in more details

  • @rhvre
    @rhvre Před 9 měsíci +9

    Thank you for this! There's so little good up to date info on MacOS development out there...

    • @natgenesis5038
      @natgenesis5038 Před 9 měsíci

      Fortunately,iOS and macOS can share same codebase

    • @zndl972
      @zndl972 Před měsícem

      @@natgenesis5038 lol

  • @wengin
    @wengin Před 3 měsíci

    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

  • @msch3988
    @msch3988 Před 2 měsíci

    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...

  • @erickandrewssaa7263
    @erickandrewssaa7263 Před 9 měsíci

    Do you know any widget development ? Def would be interested in seeing a Widget & firebase data retrieval kinda tutorial

  • @tonycheng1614
    @tonycheng1614 Před 5 měsíci

    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

  • @SFAutor
    @SFAutor Před měsícem +1

    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.

    • @graytonw5238
      @graytonw5238 Před 15 dny

      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.

  • @bobweiram6321
    @bobweiram6321 Před 9 měsíci

    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.

  • @domochotorena3308
    @domochotorena3308 Před 9 měsíci +2

    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

  • @FabricioMTL
    @FabricioMTL Před měsícem

    I have a question do you have a course for iOS 15 Target

  • @HoffiLab
    @HoffiLab Před 3 měsíci

    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.

    • @HoffiLab
      @HoffiLab Před 2 měsíci

      i could solve this by my own. the secret is to set the toolbar at the right place...

  •  Před 9 měsíci

    👏👏👏

  • @Aakash_.Thakur
    @Aakash_.Thakur Před 2 měsíci

    Mam please start swiftUI playlist from scratch to end ...

  • @Kokopellli
    @Kokopellli Před 9 měsíci +1

    Thank you so much for these lessons!!! I've just started learning Swift and these lessons are priceless!!!!

  • @danahareb1852
    @danahareb1852 Před 7 měsíci

    i LOVE U

  • @Stanislawluberda
    @Stanislawluberda Před měsícem +1

    The abrupt code changes in edit and moving to another file made this very difficult to follow.

  • @unstanbul
    @unstanbul Před 9 měsíci

  • @mewintle
    @mewintle Před 9 měsíci +3

    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.

  • @user-vx2jt3du2j
    @user-vx2jt3du2j Před 7 měsíci

    it looks similar to IOS

  • @964cuplove
    @964cuplove Před měsícem

    you lost me around 8:00 I have no clue whats happening I need something way more "beginner"...

  • @LanaDelReyFan1998
    @LanaDelReyFan1998 Před 6 měsíci

    Android studio better

  • @connormartin7948
    @connormartin7948 Před 7 měsíci +10

    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.

    • @joel.ds.m
      @joel.ds.m Před 6 měsíci +11

      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.

    • @vpetryniak
      @vpetryniak Před 4 měsíci +3

      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

  • @llothar68
    @llothar68 Před 6 měsíci

    MacOS shouldn't be done in SwiftUI.