Syncing ScrollView's + Swipe To Dismiss | Photos App Interaction | Part - 2 | SwiftUI | iOS 17
HTML-код
- Опубликовано: 19 июл 2024
- Hello Guys 🖐🖐🖐
In this video, I'll teach you how to use SwiftUI to re-create the Apple Photos Transition With Hero Effect & Syncing ScrollView's Using SwiftUI | SwiftUI Photos App Transition | SwiftUI Photos App Interaction | SwiftUI Synchronised ScrollViews | SwiftUI Hero Effect | SwiftUI Custom Matched Geometry Effect | Xcode 15 | iOS 17 | Swift | SwiftUI Xcode 15 | SwiftUI for iOS 17 | Xcode 15 SwiftUI.
#apple #swiftui #ios #xcode #animation #ui #design #animation
► Source Code: / early-access-app-10386...
► Part 1: • SwiftUI Apple Photos A...
► Subscribe For More: ruclips.net/user/Kavsoft?sub_c...
► For Apple Device Mockup's: apps.apple.com/us/app/mockvie...
► SwiftUI Books [Affiliate Link]: www.bigmountainstudio.com/fro...
► Support Us
Patreon : / kavsoft
PayPal: www.paypal.com/paypalme/Kavso...
Contributions : donorbox.org/kavsoft
BuyMeaCoffee: www.buymeacoffee.com/kavsoft
► My Specs
Xcode Version: 15.3
macOS Version: 14.4.1 Sonoma
► Official Website: kavsoft.dev
For Any Queries: kavsoft.dev/#contact
► Social Platforms
Instagram: / _kavsoft
Twitter: / _kavsoft
► Timestamps
0:00 Intro
0:32 Syncing Up ScrollViews
4:00 Building Swipe To Dismiss Feature
Thanks for watching
Make sure to like and Subscribe For More Content !!!
Very cool! Only a couple missing touches from the actual Photos app people may want to try adding - scaling the image when swiping off screen, allowing swiping from anywhere in the image (not just the leading edge, which must work simultaneously with the ScrollView swipe gesture), hiding the navigation and bottom bars when tapping on the image (and re-appearing when tapping again), and showing an image details view when swiping up on the image. Some of this is pretty trivial to implement, thanks to how well documented your process is!
Your videos always make me feel like Neo downloading KungFu straight to the brain ! 🔥 Spent yesterday putting the transition from part 1 in my app (which already had a grid + carousel + detail). I always wondered how it was done in the Photos app. Time to implement part 2 🙌
🔥
I don't understand why my top and bottom sync isn't working. The information changes, almost everything is okay, but the picture remains the same as the one that was tapped. It has no effect for redraw picture, although selectedItem's value changes
2 times rewrote code, but it doesn't work :(