Kavsoft

Kavsoft

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

Zoom Transitions - SwiftUI

Zoom Transitions - SwiftUI

Пікірлер

  • @denisk3852
    @denisk385212 сағат бұрын

    What about ios 15?

  • @gerryfadlurahman2104
    @gerryfadlurahman210412 сағат бұрын

    nice to see you adding minimum req ios, keep it up mann

  • @Kavsoft
    @Kavsoft13 сағат бұрын

    Update 👇 Just add a little delay to ShadowRemover function, DispatchQueue.main.async -> DispatchQueue.main.asyncAfter(delay: .noe() + 0.06)

  • @BabyShipCode
    @BabyShipCodeКүн бұрын

    Great!

  • @vibhunnaredla7018
    @vibhunnaredla70182 күн бұрын

    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?

  • @SilviuCiprianIonescu
    @SilviuCiprianIonescu2 күн бұрын

    I would love for some videos where you explain some of the code involved in creating these transitions and view integrations.

  • @mamazur
    @mamazur2 күн бұрын

    Why download.isAnimated ? download.value : 0 is not working?

  • @danielcrompton7818
    @danielcrompton78183 күн бұрын

    What happens if you drag from right to left?

  • @javiangelcaido2354
    @javiangelcaido23543 күн бұрын

    Top notch like always!

  • @Kamboire
    @Kamboire3 күн бұрын

    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 ?

  • @ConfidentlyRong-jo5yt
    @ConfidentlyRong-jo5yt3 күн бұрын

    You're a wizard Kavsoft! Amazing work!

  • @irayankhan2658
    @irayankhan26584 күн бұрын

    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.

  • @Kavsoft
    @Kavsoft4 күн бұрын

    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!

  • @danielcrompton7818
    @danielcrompton78183 күн бұрын

    @@Kavsofthaha, so I cannot do this on my iPhone 6

  • @FrankTinsley
    @FrankTinsley4 күн бұрын

    Freaking sick

  • @Snrzmot
    @Snrzmot4 күн бұрын

    Amazing

  • @junfly
    @junfly4 күн бұрын

    Front row !!!

  • @OpiumSmoke8971
    @OpiumSmoke89714 күн бұрын

    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

  • @emielv8365
    @emielv83654 күн бұрын

    any updates for iOS 18? I tried it and it only works after the scroll is past the edge of the iphone

  • @d0bss-on
    @d0bss-on4 күн бұрын

    Thank u for this Guide! But, why you draw camera in HomeView, instead CameraView?

  • @omotayosamson6892
    @omotayosamson68925 күн бұрын

    nice video man... if one were to use video clips instead of images how will i sync the capsule/slider with the video duration

  • @anweshannu2518
    @anweshannu25185 күн бұрын

    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() }

  • @laurentbennis
    @laurentbennis7 күн бұрын

    Fantastic :)

  • @moltovivo
    @moltovivo7 күн бұрын

    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.

  • @Kavsoft
    @Kavsoft6 күн бұрын

    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.

  • @nartiscoding
    @nartiscoding7 күн бұрын

    This solution doesn't work when you try to select the default icon

  • @jeanysergeimezarodriguez8629
    @jeanysergeimezarodriguez86297 күн бұрын

    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.

  • @Kavsoft
    @Kavsoft6 күн бұрын

    Yes, it can be converted to support iOS 17 as well, Maybe I will do that and add it to the Patreon✌️

  • @jeanysergeimezarodriguez8629
    @jeanysergeimezarodriguez86296 күн бұрын

    @@Kavsoft thanks! looking forward to it

  • @danielcrompton7818
    @danielcrompton78188 күн бұрын

    I have a question: how did you learn SwiftUI? You clearly followed the best course there is. Or are you self-taught?

  • @Kavsoft
    @Kavsoft6 күн бұрын

    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.

  • @danielcrompton7818
    @danielcrompton78186 күн бұрын

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

  • @Henrique-yc4mo
    @Henrique-yc4mo2 күн бұрын

    ​@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

  • @user-br8sq7kb3l
    @user-br8sq7kb3l8 күн бұрын

    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

  • @Kavsoft
    @Kavsoft8 күн бұрын

    Inspiration 👉 x.com/mackenziechild/status/1781329751891649004

  • @StephenLee-v7r
    @StephenLee-v7r8 күн бұрын

    When will be the Pomodoro Focus Timer App Part II?Thank you.

  • @lfan_tv
    @lfan_tv8 күн бұрын

    Hi, this video is excellent! Can you try to make the UI relate to Apple Health App?

  • @user-xc4ck1yk2s
    @user-xc4ck1yk2s9 күн бұрын

    Good! Can I use it on iOS17 as well?

  • @Kavsoft
    @Kavsoft8 күн бұрын

    Yes, final result was running on iOS 17!

  • @georgeikwegbu5284
    @georgeikwegbu52849 күн бұрын

    Perfect 🎉...

  • @andrejkling3886
    @andrejkling38869 күн бұрын

    Cool 🔥💯

  • @ilyabiltuev
    @ilyabiltuev9 күн бұрын

    Thank you for a great tutorial 🤩

  • @gotmine84
    @gotmine8410 күн бұрын

    Your content is awesome!

  • @nitinbhatia493
    @nitinbhatia49310 күн бұрын

    fluid animation from notch itself, how to do that ?

  • @sh3r1p49
    @sh3r1p4910 күн бұрын

    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!

  • @sh3r1p49
    @sh3r1p4910 күн бұрын

    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)") } })

  • @amirpervaiz4019
    @amirpervaiz401911 күн бұрын

    Awesome!

  • @junfly
    @junfly12 күн бұрын

    666

  • @AyhanHakanTekin
    @AyhanHakanTekin13 күн бұрын

    you are worh yearly $200.000 more bro very good job

  • @theis4749
    @theis474913 күн бұрын

    Out of interest, why use the @ViewBuilder instead of just creating an additional struct for the HeaderView? Love the videos, incredibly helpful stuff :)

  • @Kavsoft
    @Kavsoft10 күн бұрын

    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.

  • @GregT-gf9ny
    @GregT-gf9ny13 күн бұрын

    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?

  • @sovalle0
    @sovalle013 күн бұрын

    Que extraordinario! Muy bueno la verdad 🤙

  • @pratikgopalbhai3759
    @pratikgopalbhai375913 күн бұрын

    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?

  • @sovalle0
    @sovalle013 күн бұрын

    Thanks you so much

  • @mrsheep69
    @mrsheep6913 күн бұрын

    wow

  • @cuonglehuu7762
    @cuonglehuu776213 күн бұрын

    amazing

  • @andrejkling3886
    @andrejkling388613 күн бұрын

    Awesome job…🔥💯

  • @felipequintella
    @felipequintella13 күн бұрын

    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.

  • @first_sumit
    @first_sumit13 күн бұрын

    I needed this. Thanks so much! 🤗

  • @laurentbennis
    @laurentbennis14 күн бұрын

    fantastic Thank you :)