iOS ScrollView – make it snappy!

In iOS17, Swift UI has some new modifiers which make it easier to implement snap behaviour in scrollviews. ScrollView Let’s make a simple scrollview: Reminder: Using LazyHStack instead of HStack means the tiles are only loaded when needed and not upfront. This gives us a simple horizontal scrollview: The default behaviour is free scrolling, and … Continue reading “iOS ScrollView – make it snappy!”