Categories
Featured iPhone Development Resources iOS Development Tutorials Swift

Tutorial: Building A Custom Swift Based iOS UI Component That Utilizes 3D Touch

3D touch is a great way to enhance user interface components and Yari D’areglia has written a nice guide to building a custom confirmation button that neatly uses 3D touch.

In the tutorial you’ll learn how to draw the button, handle the user’s touch force, update the UI based on the touch force, and create a fallback mode for devices that don’t support for touch.

This video shows the button you’ll create from the tutorial:

You can find the tutorial on the Think and Build It site.

A nice guide to building a user interface component that utilizes 3D touch.