SwiftUI 2.0 Pull To Refresh - Custom Pull To Refresh Control - SwiftUI 2.0 Tutorials

Поділитися
Вставка
  • Опубліковано 8 жов 2024
  • In this Video i'm going to show how to implement Custom Refresh Control For List/ScrollView Using SwiftUI 2.0 | SwiftUI 2.0 Pull To Refresh | SwiftUI Custom Pull To Refresh | SwiftUI 2.0 Refresh Controller | SwiftUI Refresh Control | SwiftUI Refreshable List View | SwiftUI Geometry Reader | Xcode 12 SwiftUI 2.0.
    Source Code
    kavsoft.dev/Sw...
    Support Us By Contributions : donorbox.org/k...
    Support Us By Patreon : / kavsoft
    Support Us By Visiting the Link Given Below.
    ⭐ Kite is a free AI-powered coding assistant that will help you code faster and smarter. The Kite plugin integrates with all the top editors and IDEs to give you smart completions and documentation while you’re typing. It's gives a great experience and I think you should give it a try too www.kite.com/g...
    My Xcode Version is 12.1
    My macOS Version is 10.15.7 Catalina
    For Any Queries And Any Request For Videos Use The Given Link
    kavsoft.dev/#c...
    For More
    kavsoft.dev
    Instagram
    / _kavsoft
    Twitter
    / _kavsoft

КОМЕНТАРІ • 14

  • @MrSkeletty
    @MrSkeletty 3 роки тому +4

    Any explanaition why this doesn't work when I replace the ForEach with a List in the sample code?

  • @webguyatwork
    @webguyatwork 3 роки тому +1

    This is by far the most complete and useful implementation I've come across so far. Amazing work! Question though... the animations seem to get a bit choppy when implemented alongside an infinite scroll using LazyVStack. Can you try out combining both pull to refresh and infinite scroll together in the same tutorial? Maybe this would shed some light on what I'm doing wrong. Hopefully it can be done without the use of LazyVStack as that breaks other stuff as well.

    • @Kavsoft
      @Kavsoft  3 роки тому

      LazyVStack
      Needs Specific Data At Each Iteration In ForEach
      ie No Repetition Must Be There Else
      It will Throw error => Layout id Must be Once

    • @rashidlepps8609
      @rashidlepps8609 3 роки тому

      ​@@Kavsoft I understand that layoutId must be once. However I am having an issue where if I pull down slowly using a LazyVstack, when the bottom most view is about to disappear, it causes a hitch in the pull to refresh animation. Is there anyway around this? It also may be worth noting, that the rows in the lazyvstacks are different heights

  • @zaynabal-arab8940
    @zaynabal-arab8940 3 роки тому

    Amazing Work!! you really help us a lot!

  • @atealab6152
    @atealab6152 2 роки тому

    You're a genius

  • @andrejkling3886
    @andrejkling3886 3 роки тому

    I am Always Grateful ...

  • @zaynabal-arab8940
    @zaynabal-arab8940 3 роки тому

    I have a question, how can I implement it to refresh a view in order to get the firebase document changes? what should I put in on update?

  • @AAAA99536
    @AAAA99536 3 роки тому

    Amazing job! This is big!

  • @mariamsargsyan608
    @mariamsargsyan608 3 роки тому

    thanks)

  • @johnybaby9574
    @johnybaby9574 3 роки тому

    Awesome Bro

  • @負電拍拍
    @負電拍拍 3 роки тому

    Awesome