Загрузка видео...
Не удалось загрузить видео
I built a chonkier, Apple TV-inspired action menu that feels responsive and substantial! Notes: – The highlighted row gets magnified and moves slightly with touch – Spring-loads on long-press, or immediately if you drag – Stretches and rubberbands if you pull past the bottom
346,988 просмотров • 3 лет назад •via X (Twitter)
Комментарии: 10

Philip Davis3 лет назад
I wish I could Like this 10 more times. So nice!!

Janum Trivedi3 лет назад
❤️

Adam Whitcroft3 лет назад
Love it. How do you do the rubber banding effect?

Janum Trivedi3 лет назад
Thanks! The effect itself is a scale transform (if the y is 1.1 for example, x is the inverse (0.9). That value is a function of the drag distance, which you constrain with the rubberbanding equation (which I can post later).

Akshar Dave 🌻3 лет назад
Your attention to details with the squash-and-stretch here is inspiring. Curious how this feels paired with haptics and maybe sounds too

Janum Trivedi3 лет назад
Has haptics! Didn’t mention it since it’s invisible over video :)

tuhin3 лет назад
So good!

Janum Trivedi3 лет назад
Thank you!

Brent Hazman3 лет назад
This is so awesome! Did you build this in SwiftUI or UIKit?

Janum Trivedi3 лет назад
UIKit and Wave!
Похожие видео
0:42
Sensitive content
Anyone who defends this behavior (or gets offended) if you criticize it is a fucking retard and I don’t want to share the Earth with you.
Amiri King
2,206,599 просмотров • 2 лет назад

