Complex SwiftUI Gestures Tutorial

Опубликовано: 01 Октябрь 2024
на канале: Credo Academy
622
14

🟢 LIMITED TIME OFFER - SAVE 37%
Practical iOS and macOS app development tutorials with SwiftUI in 4K
https://credo.academy

The sole purpose of this SwiftUI tutorial is to develop the snappy feature of the custom button. Nothing more, nothing less.

But it is a good thing since this is the one feature that makes this application so great. That said, let's see how this unique behavior works in action.

The first thing worth knowing about it.
By the end of this lecture, users can drag and swipe the Button in the right direction.

The second point.
And by doing that, the Button's shape will grow horizontally as well.

The third point.
When we stop dragging the Button halfway, and we release our fingers from the screen, then watch out for what's happening.

Did you see that the Button snapped to back its starting position? Awesome!

CHAPTERS

00:00 App demo
01:19 Preparation
07:50 Testing SwiftUI
09:37 Drag gesture
10:39 Feature improvement
13:33 Xcode simulator
15:20 Final test
16:06 Tutorial recup

This SwiftUI tutorial is part of the best online SwiftUI Masterclass course.

🟣 Practical iOS and macOS app development tutorials with SwiftUI in 4K
https://credo.academy

This 4K tutorial is part of the bestseller SwiftUI Masterclass course with more than 13 thousand students at the Credo Academy.

#SwiftUI #swiftuitutorial #iOSDevelopment