Tutorialspoint
Subscription Includes
$ 19.99   6.99

SwiftUI Gestures: Practical Drag Gesture Deep Dive

Created by DevTechie, Last Updated 19-Apr-2021, Language:English

SwiftUI Gestures: Practical Drag Gesture Deep Dive

Learn gesture recognizer in SwiftUI by building practical examples

Created by DevTechie, Last Updated 19-Apr-2021, Language:English

What Will I Get ?

  • SwiftUI
  • Gesture Recognizer
  • Drag Gesture Recognizer
  • Custom Components
  • Native Controls

Requirements

  • Knowledge of Swift
  • Knowledge of SwiftUI
  • Knowledge of Xcode

Description

SwiftUI provides many gestures to create interactions for tap, click or swipes. Adding gesture recognizer in SwiftUI is as simple as adding any another view modifier. Gestures allow development of an engaging and fun features in modern apps. Apple uses gestures heavily throughout their systems and users of Apple echo system have developed habit for a few gestures that are commonly and widely used by Apple and other apps.


In this video course, you will learn about drag gesture recognizer. SwiftUI drag gesture recognizer is very powerful, it can do a lots of things to make user interface pleasant.Drag gesture comes with may capabilities which can be used to build out custom components from scratch.  


You will start with adding basic drag gesture recognizer to your view. From there, we will explore various different options drag gesture provides. You will learn about gesture state property wrapper, using translation values provided by drag gesture to make custom computations. You will also learn about restricting gesture directions, collision detection.


You will build slider out menu using purely drag gesture recognizer. We will also build a custom range slider to select range on a scale. We will also build a clone of iOS control center's volume and brightness slider control using drag gesture recognizer. 


So join us in this fun practical course to learn all about drag gesture recognizer.

Course Content