Make a MacOS App from Start to Finish with SwiftUI - Screenshot app - PART 1

  Рет қаралды 8,695

Karin Prater

Karin Prater

Күн бұрын

Start macOS app development in this SwiftUI tutorial where I guide you through creating a screenshot app from scratch. Learn how to leverage command line tools for powerful functionality, manage images with NSPasteboard, and enhance your app’s interface with SwiftUI’s LazyVGrid and drag-and-drop features.
This is the first part of a series where you will learn about macos app develeopment. This series will equip you with the skills to build a native and polished macOS application.
🔹 What You’ll Learn:
- How to use command line tools in SwiftUI.
- Integrating screencapture for taking screenshots.
- Managing images with NSPasteboard.
- Creating a dynamic grid layout using LazyVGrid.
- Implementing drag and drop functionality.
- Handling different screenshot types with ease.
00:00 Introduction to the screenshot app project
04:44 Using command line tools
08:36 What can you build with command line tools
11:57 Taking screenshots in SwiftUI with screencapture
17:29 Getting the images from NSPastboard
20:40 Grid layout with LazyVGrid
24:27 Drag and drop images
26:37 Taking different types of screenshots
29:27 Wrap up
If you want to publish an app with screen capture, make sure to add privacy settings. This is the guide from apple: developer.apple.com/documenta...
If you liked what you learned and you want to see more, check out one of my courses!
👨‍💻 macOS Development with SwiftUI course learn.swiftyplace.com/macos-d...
👨‍💻 my Core Data and SwiftUI course learn.swiftyplace.com/swiftui...
⬇️ Download project starter: github.com/gahntpo/Screenshot...
PART 2: • Make a macOS app PART ...
#SwiftUI #macos

Пікірлер: 52
@SwiftyPlace
@SwiftyPlace Ай бұрын
Learn more in depth about macOS development with my new course. learn.swiftyplace.com/macos-development-swiftui-course
@ongomobile9956
@ongomobile9956 18 күн бұрын
Great course Any plans for SwiftData?
@mohamethseck
@mohamethseck Ай бұрын
I think you're the only one that does Mac OS tutorials with SwiftUI and I love it! Thank you!
@SwiftyPlace
@SwiftyPlace Ай бұрын
Glad you like it! I really enjoy macOS development.
@krantinebhwani6125
@krantinebhwani6125 5 күн бұрын
This is so cool. Kudos for pushing what really needs to be pushed, which is to use a very good framework to make apps for a highly popular OS. Everyone falls into the trap of "only" making iOS apps when learning swiftUI!
@user-sr4ih1zt5s
@user-sr4ih1zt5s 13 күн бұрын
I'm building a small macOS menu bar tool atm. Have learned so much from your channel! You are amazing!
@lorensims4846
@lorensims4846 Ай бұрын
So nice to see a SwiftUI tutorial that ISN'T for iOS! I really prefer to write programs for macOS.
@SwiftyPlace
@SwiftyPlace Ай бұрын
Happy to hear. I really like doing tutorials for macOS. Its challenge but super fun.
@ChinqMiau1
@ChinqMiau1 Ай бұрын
Like many I will also add my appreciation of you making and sharing MacOS programming videos. Thank you!
@FabricioMTL
@FabricioMTL Ай бұрын
Keep creating macOS app related content that make you Unique ❤️
@SwiftyPlace
@SwiftyPlace Ай бұрын
That's the plan!
@rbdan
@rbdan 27 күн бұрын
This tutorial saved me, can’t believe how easy you make it while following best practices
@AmpharosSquad
@AmpharosSquad Ай бұрын
real shame... that there is only 1 video in the series so far! :) I love your tutorials. Can't wait for more videos in this series. You show so many small things along the way the showcase the expertise you have in swiftui and mac/ios development in general.
@RobertHolzapfel
@RobertHolzapfel Ай бұрын
Thanks very much ... love it!
@jorgesegundorojas6119
@jorgesegundorojas6119 Ай бұрын
My favorite iOS channel :)
@SwiftyPlace
@SwiftyPlace Ай бұрын
Wow, thanks!
@debdutkarmakar4530
@debdutkarmakar4530 Ай бұрын
Great tutorial ❤
@rricardobs
@rricardobs 27 күн бұрын
What a soft voice! Certainly subscribing to watch next videos. Thanks for the video
@ongomobile9956
@ongomobile9956 Ай бұрын
Very Cool that your creating content for macOS
@sharshuwuu
@sharshuwuu Ай бұрын
Great too see a new video especially this one
@SwiftyPlace
@SwiftyPlace Ай бұрын
Your support means the world to me, thank you for tuning in!
@gokulsarveshsk461
@gokulsarveshsk461 Ай бұрын
Just awesome😍!
@szabolcst6847
@szabolcst6847 Ай бұрын
Thank you! Excellent as always!
@SwiftyPlace
@SwiftyPlace Ай бұрын
Thank you too!
@awunnenb
@awunnenb Ай бұрын
Nice video, thank you!
@mkhasson97
@mkhasson97 Ай бұрын
Lieben Dank 💯🎉
@RadAlzyoud
@RadAlzyoud Ай бұрын
Brilliant. Thanks for sharing.
@collocheru
@collocheru Ай бұрын
Amazing tutorial, I had no idea how powerful command line tools are!!
@SwiftyPlace
@SwiftyPlace Ай бұрын
I know, right?
@caotichcuc
@caotichcuc Ай бұрын
Super helpful. Thank you so much 💕
@chris_bennett
@chris_bennett Ай бұрын
This is so cool! Just today I thought about coding my own MacOS screenshot tool because I have an idea for a feature I have not seen anywhere else. And there you are with this awesome tutorial. Thanks!!!
@abdouett3676
@abdouett3676 Ай бұрын
Awesome job and very well explaining! Thanks
@SwiftyPlace
@SwiftyPlace Ай бұрын
Glad it was helpful!
@robwatkinssr.9058
@robwatkinssr.9058 23 күн бұрын
Very good tutorial. Thanks
@Mvrkke
@Mvrkke Ай бұрын
Danke Karin
@AndrewDChristie
@AndrewDChristie Ай бұрын
Thanks!
@awakeFromNib
@awakeFromNib Ай бұрын
That's very interesting, thanks!
@SwiftyPlace
@SwiftyPlace Ай бұрын
My pleasure!
@maxscheijen
@maxscheijen Ай бұрын
Great video!
@SwiftyPlace
@SwiftyPlace Ай бұрын
Glad you enjoyed it
@MadHolms
@MadHolms Ай бұрын
please add Part 2..N, finally some nice tutorials for MacOS development.
@SwiftyPlace
@SwiftyPlace Ай бұрын
Will upload soon
@ihwan_id
@ihwan_id Ай бұрын
thanks
@aloussase
@aloussase Ай бұрын
Loved the content! For the next videos in the series could you please format your code :)
@SwiftyPlace
@SwiftyPlace Ай бұрын
Sure thing!
@simonransom_dxb
@simonransom_dxb Ай бұрын
Hello Karin Thank you for the informative content. Will you address how to take fullscreen screenshots with multiple monitors in a future video? I seem to only be able to take screenshots of my primary monitor even when it is not showing the active app/window. Simon
@iosems
@iosems Ай бұрын
Heyy, very informative lesson! btw, can you share your xcode theme using?
@SinghalRishi27
@SinghalRishi27 Ай бұрын
Can you please do a tutorial on hotel booking app for iPhone iPad and Mac Im only stuck on scalability of apps
@gsestream
@gsestream Ай бұрын
or with java, a runnable jar
MacOS Is Horrible Until You Learn How To Use It
12:26
La revancha 😱
00:55
Juan De Dios Pantoja 2
Рет қаралды 54 МЛН
I Built a Shelter House For myself and Сat🐱📦🏠
00:35
TooTool
Рет қаралды 34 МЛН
The 3 Laws of Writing Readable Code
5:28
Kantan Coding
Рет қаралды 170 М.
Interview with an Emacs Enthusiast in 2023 [Colorized]
8:50
Programmers are also human
Рет қаралды 1,1 МЛН
ComfyUI Multi ID Masking With IPADAPTER Workflow
12:31
Grafting Rayman
Рет қаралды 8 М.
26 Incredible Use Cases for the New GPT-4o
21:58
The AI Advantage
Рет қаралды 707 М.
I Spent 120 Hours Coding This!
24:01
Hallden
Рет қаралды 74 М.
The Magic of RISC-V Vector Processing
16:56
LaurieWired
Рет қаралды 190 М.
How I would start iOS Development in 2024
10:23
Flo writes Code
Рет қаралды 19 М.
🔴 NEW SwiftUI Airbnb Clone | iOS 17 | Xcode 15
3:09:05
AppStuff
Рет қаралды 37 М.