SamSuka
kavsoft
kavsoft

patreon


SwiftUI Infinite Carousel - Infinite Page Tab View - SwiftUI Tutorials - Xcode 14

Source Code For SwiftUI Infinite Carousel - Infinite Page Tab View - SwiftUI Tutorials - Xcode 14.

Download Code πŸ‘‡

SwiftUI Infinite Carousel - Infinite Page Tab View - SwiftUI Tutorials - Xcode 14

Comments

Is it possible to make left and right side items visible partially and add timer for auto scrolling?

Pavan

1. Wondering why a TabView is used here? Can this also be done with a ScrollView? What are the advantages of using a TabView vs ScrollView? Any performance gains using a TabView vs ScrollView? 2. The page control at the bottom has a white background. Is there a way to make it transparent or change to any other color? Is there a way to change the color of the dots? 3. Is there a way to do this infinite carousel without adding duplicates at the first and the last?

Sujan

I just added a Prototype, Check it out!

Kavsoft

HI! Any updates?

Stanislau Saukou

Great work Guys! I think it would be awesome to see a tutorial about a day carousel that starts on the present day, and lets users swipe forwards to see next day view or backwards to see previous day view. Plus, the carousel should only loaded new day views when necessary.

Dmitriy

Thank you! That's will be great

Stanislau Saukou

tvOS has separate ways to do this; this will not work on tvOS, because tvOS required elements need to be focusable(). I think I have a prototype; I will refactor and upload it in patron!

Kavsoft

Hi! I've added comment there(https://www.patreon.com/posts/early-access-3-0-56441828), but I guess that one is more relevant. Could you try check your solution, but for Apple TV

Stanislau Saukou

Love the code, thank you. Quick question, how could we add more properties besides just the color to the page without creating an error?

mo


More Creators