Adapting Dynamic Island into a Custom Pull to Refresh - Xcode 14 - SwiftUI Tutorials

preview_player
Показать описание
Hello Guys 🖐🖐🖐
In this video, I'll show you how to use SwiftUI to adapt Apple's new iPhone 14 Pro Dynamic Island into a unique pull-to-refresh motion.

Dynamic Island | iPhone 14 Pro Max | SwiftUI Dynamic Island | SwiftUI Dynamic Island Based Pull to Refresh | SwiftUI Custom Pull to Refresh | Xcode 14 | iOS 16 | SwiftUI Custom Animation's | Swift | SwiftUI Xcode 14 | SwiftUI for iOS 16 | Xcode 14 SwiftUI.
#apple #swiftui #ios #xcode #animation #ui #ux #design

► Support Us

► My MacBook Specs
M1 MacBook Pro(16GB)
Xcode Version: 14
macOS Version: 12.5.1 Monetary

► Social Platforms

► Timestamps
0:00 Intro
0:32 Project SetUp
1:00 Refactoring Code
2:29 Building Custom Pull to Refresh
11:08 Utilising it for Old Code

Thanks for watching
Make sure to like and Subscribe For More Content !!!
Рекомендации по теме
Комментарии
Автор

Little Update,

First, create a variable called GestureID, like this:
let gestureID = UUID().uuidString

Now add the following line:
panGesture.name = gestureID
After this line,
panGesture.delegate = self
which is present in the addGesture() method.

Now modify this,

to:
{ gesture in
gesture.name == gestureID
})
which is present in the removeGesture() Method.

This will avoid removing every gesture attached to the root view.

Kavsoft
Автор

I love how this channel is just straight to the point stuff I came here to see
With 99% of tutorial channels on YouTube more effort has to go into ignoring the author's pErSoNaLiTy and news about their dog than into following the tutorial
Well earned sub from me 🙌🏻

MaxRovensky
Автор

The Idea of integrating the dynamic bar into the app is very interesting. It combines the Dynamic Island (outside of the App) with the App itself. It feels a little bit like breaking the Fourth Wall :D Implementing this on any Iphone with a notch creates an Effect as if the scroll refresh comes from the notch. Same Fourth Wall Breaking. Nice Job.

stephansupload
join shbcf.ru