Learn to design and code SwiftUI apps
Hey Everyone!
Kavsoft is a channel where I focus on making tutorials on Swift and SwiftUI that makes working with it fun, simple and easy.
Here I try making concepts more understandable.
My goal is to make complex codes simple and extend unreached benefits of SwiftUI.
For more information reach out to us.
Website : kavsoft.dev/
Instagram : instagram.com/_kavsoft/
Twitter : twitter.com/_Kavsoft
Пікірлер
What about ios 15?
nice to see you adding minimum req ios, keep it up mann
Update 👇 Just add a little delay to ShadowRemover function, DispatchQueue.main.async -> DispatchQueue.main.asyncAfter(delay: .noe() + 0.06)
Great!
This is awesome. How would I make it so that after the login button is pressed after reaching page 4, the page changes to another page or a status variable is changed?
I would love for some videos where you explain some of the code involved in creating these transitions and view integrations.
Why download.isAnimated ? download.value : 0 is not working?
What happens if you drag from right to left?
Top notch like always!
thank you!!! everything work fine! except when I put the .offset(x: -minX) line the is a kind white bar that mask the corner radius of the image on the right side ? any help ?
You're a wizard Kavsoft! Amazing work!
In the description of every video can you put the minimum required iOS version needed to do this? I’m assuming most stuff you post is tailored for the current OS.
Thanks for the comment. I will start adding this to future videos so that it will be helpful for people to identify it, and this project will support iOS 17 as well!
@@Kavsofthaha, so I cannot do this on my iPhone 6
Freaking sick
Amazing
Front row !!!
Learning from a human is the best. This makes AI look like a fool. Damn I'm thankful, wow hours of nights gone by I didn't sleep eyes paiend copy pasted fingers hurt you can't cheat your way. Thank you
any updates for iOS 18? I tried it and it only works after the scroll is past the edge of the iphone
Thank u for this Guide! But, why you draw camera in HomeView, instead CameraView?
nice video man... if one were to use video clips instead of images how will i sync the capsule/slider with the video duration
I think the first if condition in playPause fubction will never execute If -rect.minY < (rect.height * 0.5) && rect.minY < (rect.height * 0.5) { player.play() }
Fantastic :)
I have a question.- why do you prefer to use viewbuilder functions to create views rather than structs? Is there a benefit either way? I thought structs wore more resilient to state changes.
I use view builder only if the view is just small subcomponent which does not require view specific states, it always helps me to split large chuck of code into subcomponents which will always be helpful in understanding the code when later it’s viewed after sometime. If a view has its own state properties, then I will be preferring structs.
This solution doesn't work when you try to select the default icon
Thank you for the great content. I have a question. Is it possible to implement the CustomGesture using iOS17 APIs? I have seen you build custom UIKit gestures like in your "Instagram Pinch to Zoom" video. I am just wondering if is possible.
Yes, it can be converted to support iOS 17 as well, Maybe I will do that and add it to the Patreon✌️
@@Kavsoft thanks! looking forward to it
I have a question: how did you learn SwiftUI? You clearly followed the best course there is. Or are you self-taught?
I’m actually a self-taught one. Right when SwiftUI was announced back in 2019, I tried to play with every modifier and learned what it would actually do (I'm still doing the same to learn more about SwiftUI + Documentations). While discovering new things, such as UIs and animations, I’m sharing them on KZread so that people can make use of them.
@@Kavsoft This is amazing, keep going! Firstly many people including myself wouldn't have the time to explore every single modifier, nor have the imagination to combine them in such unique ways! Thanks for posting your inspo
@danielcrompton7818 I'm this kind of guy that lacks imagination for create such things. I really try to be good in creating UI and animations, but I think I'm more of a backend guy
How do you feel about trying to tackle a Gantt chart perhaps? That would be a bit trickier to make but it would be good I feel
Inspiration 👉 x.com/mackenziechild/status/1781329751891649004
When will be the Pomodoro Focus Timer App Part II?Thank you.
Hi, this video is excellent! Can you try to make the UI relate to Apple Health App?
Good! Can I use it on iOS17 as well?
Yes, final result was running on iOS 17!
Perfect 🎉...
Cool 🔥💯
Thank you for a great tutorial 🤩
Your content is awesome!
fluid animation from notch itself, how to do that ?
Hi how can I change the date. for example i want add a feature like "GO TO DATE" then it will paginate to a specific week? Thank you!
i made it.. by adding this on below .onAppear in Vstack.. .onChange(of: currentDate, { if !weekSlider.isEmpty { weekSlider.removeAll() print("currentDate Changed: \(currentDate)") let currentWeek = Date().fetchWeek(currentDate) if let firstDate = currentWeek.first?.date { weekSlider.append(firstDate.createPreviousWeek()) } weekSlider.append(currentWeek) if let lastDate = currentWeek.last?.date { weekSlider.append(lastDate.createNextWeek()) } print("currentDate Changed: \(weekSlider.count)") } })
Awesome!
666
you are worh yearly $200.000 more bro very good job
Out of interest, why use the @ViewBuilder instead of just creating an additional struct for the HeaderView? Love the videos, incredibly helpful stuff :)
I use view builder only if the view is just small subcomponent which does not require view specific states, it always helps me to split large chuck of code into subcomponents which will always be helpful in understanding the code when later it’s viewed after sometime.
I am very grateful for these but I have had a major question in regards to media and scrollview that hopefully you can help solve as it has been plaguing me for more than enough time. I have had to change from LazyVStack to uicollectionviewdiffable because LazyVStack (or any lazystack) will not deallocate the views once scrolled offscreen. And this is not so much the case with images but once you include videos, if you scroll through numerous times you will see the scrollview will begin to lag. Have you encountered this issue?
Que extraordinario! Muy bueno la verdad 🤙
Awesome. Thank you so much for making this really useful content. I have one question. Is it safe to use TabView while we are dealing with a lot of data from server and also have pagination?
Thanks you so much
wow
amazing
Awesome job…🔥💯
This tutorial is awesome! Can you try to make a scrollable tab bar that follows the scrolling pages in sync and always has the selected header centered? And that you can select the page by scrolling the tab bar on top of tapping to select? I'm looking for an experience like the tabs on the Copilot Money budgeting app.
I needed this. Thanks so much! 🤗
fantastic Thank you :)