Join Tammy Coron for an in-depth discussion in this video What you should know, part of iOS 9 3D Touch In Depth.
- [Voiceover] Before we begin, there are a few things we need to cover. Firstly, in order to get the most out of this course, you should know the basics of iOS programming and how to use Xcode. This includes working with view controllers and views, variables and strings, and so on and so forth. You should also understand the Swift programming language. You don't have to be an expert, but knowing your way around Swift will be helpful. Secondly, if you plan to run the demo projects included with the exercise files, you'll need to latest of Xcode installed, which at the time of this recording is 7.3.
It's also recommended that you have a 3D Touch-capable device. If, however, you do not have a 3D Touch-capable device, that's okay. You can use the simulator, provided you have a trackpad that supports force touch. If you decide to go that route, make sure you have enabled Force Click and haptic feedback. These options can be found in your system's trackpad settings panel. You'll also need to enable the proper setting in the simulator.
This setting can be found under the hardware menu and is title, Use Trackpad Force for 3D Touch. Just make sure it's checked and you're good to go.
In this course, Tammy Coron walks through the 3D Touch API. She shows how to add static and dynamic quick actions, which allow you to display shortcuts for app-specific tasks. She also covers peek—for displaying live previews of items—and pop, which opens a detailed version of the peek view. Last but not least, she shows how to implement custom actions using UITouch's new properties: force and maximumPossibleForce.
- Accessibility and 3D Touch
- Checking for 3D Touch availability
- Understanding static vs. dynamic actions
- Working with peek and pop views
- Working with UITouch objects