Загрузка видео...

Не удалось загрузить видео

На главную

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 Davis
Philip Davis3 лет назад

I wish I could Like this 10 more times. So nice!!

Фото профиля Janum Trivedi
Janum Trivedi3 лет назад

❤️

Фото профиля Adam Whitcroft
Adam Whitcroft3 лет назад

Love it. How do you do the rubber banding effect?

Фото профиля Janum Trivedi
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 🌻
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 Trivedi
Janum Trivedi3 лет назад

Has haptics! Didn’t mention it since it’s invisible over video :)

Фото профиля tuhin
tuhin3 лет назад

So good!

Фото профиля Janum Trivedi
Janum Trivedi3 лет назад

Thank you!

Фото профиля Brent Hazman
Brent Hazman3 лет назад

This is so awesome! Did you build this in SwiftUI or UIKit?

Фото профиля Janum Trivedi
Janum Trivedi3 лет назад

UIKit and Wave!

Похожие видео