Image Carousel in SwiftUI

Поделиться
HTML-код
  • Опубликовано: 30 ноя 2024

Комментарии • 16

  • @keeleycarrigan
    @keeleycarrigan Месяц назад

    great tutorial. One side of me thinks you could have used the opportunity to also teach clean code practices, but then the other side says this was quicker and gets the point across. New subscriber BTW.

    • @StewartLynch
      @StewartLynch  Месяц назад

      There is only so much time that people will pay attention so one has to make compromises

  • @Mahadev-x7u
    @Mahadev-x7u 4 месяца назад +1

    Thank you Stewart… 🍀💯🌈

  • @dibjr
    @dibjr 6 месяцев назад +1

    Thank you, Stewart! Great techniques and a great resource to have!

  • @holycrosscv
    @holycrosscv 5 месяцев назад +1

    Most excellent as always Stewart! Thanks so much!
    Blessings,
    --Mark

  • @swiftodyssey
    @swiftodyssey 5 месяцев назад +2

    Excellent video! Thank you Stewart 🙂

  •  5 месяцев назад +1

    Thank you for the demo.

  • @robert.ios.developer
    @robert.ios.developer 5 месяцев назад +1

    Thanks, this video is really cool 🙌

  •  5 месяцев назад

    As a follow up to this demo, maybe a looping carousel in SwiftUI only. I had to implement that at my work project for iOS 16, but I couldn't do it in SwiftUI and I had to revert to UIKit. Maybe in iOS 17 SwiftUI brings some useful APIs or view modifiers that can help with the looping part.

  • @laurentbennis
    @laurentbennis 5 месяцев назад +1

    Smashing Tutorial Sir Ta Much :)

  • @bobbrysonn
    @bobbrysonn 5 месяцев назад +1

    Great video!

  • @andremethot2787
    @andremethot2787 6 месяцев назад

    Excellent video! Love the third example. What about if we have a lot of images like more than the width of the screen for the indicator view?

    • @StewartLynch
      @StewartLynch  6 месяцев назад +1

      Then you have a problem and a Carousel is not likely the best way to display the images. I think you would have the same issue with the TabView solution too.

  • @yugasamuel6402
    @yugasamuel6402 4 месяца назад

    Guys, I have been facing problems when using TabView for carousels, especially when I want to preload images for the subsequent index. I want to track the state of the download-such as loading, loaded, and failure-using URLSession. Unfortunately, it causes the swipe to get stuck mid-swipe due to the conversion from Data to UIImage and then to SwiftUI Image. Has anyone else faced the same problems?