iOS 18 SwiftUI ScrollView DeepDive

Опубликовано: 11 Август 2024
на канале: Stewart Lynch
2,572
163

In this video, I am going to take a bit of a deep dive into SwiftUI scrollView improvements introduced for iOS18. Things just keep getting better, so let's investigate each new method and modifier and see how this can help us improve our scrollable collections.
If you want to support my work, you can buy me a coffee :) 
https://ko-fi.com/stewartlynch 

******* Download my StewartLynch YouTube Channel Application - Free ********** 
https://stewartlynch.gumroad.com/l/obsjz

Table of Contents: 
0:00  Introduction
1:56 ScrollPosition
8:36 ScrollGeometry and onScrollGeometryChange
13:35 onScrollPhaseChange
17:10 onScrollVisibilityChange
19:28 onScrollTargetVisibilityChange
21:45 Practical Example

 Starter Project Files: 
https://github.com/StewartLynch/Scrol...

Completed Project: 
https://github.com/StewartLynch/Scrol...

References mentioned in video: 
Enhancements to ScrollView in iOS 17
   • Enhancements to ScrollView in iOS 17  

Image Carousel Views
   • Image Carousel in SwiftUI  

Recommended Resources: 

RocketSim - Build Apps Faster 
   https://gumroad.com/a/122988499/ftvbh 

BigMountain Studio Books 
SwiftData Mastery in SwiftUI 
   https://www.bigmountainstudio.com/swi...
SwiftUI Views Mastery 
   https://www.bigmountainstudio.com/vie...
SwiftUI 5 Book Bundle 
   https://www.bigmountainstudio.com/boo...
Combine Mastery in SwiftUI 
   https://www.bigmountainstudio.com/com...
Core Data Mastery in SwiftUI 
   https://www.bigmountainstudio.com/cor...
SwiftUI Animations Mastery 
   https://www.bigmountainstudio.com/ani...

Other References: 
Stewart Lynch's YouTube Channel: 
      / @stewartlynch   
Stewart Lynch on Mastodon: 
   https://iosdev.space/@StewartLynch 
Stewart Lynch On Threads: 
   @StewartLynch 
Stewart Lynch on X: 
   https://x.com/StewartLynch 
Stewart Lynch on LinkedIn 
     / stewartlynch