Learn what haptics are and why they are important ways to interact with the user on Apple Watch. Be able to tell the best haptic for your application, and code an application to sample the different haptics available.
- [Instructor] How does your watch communicate…to the user when they're not looking…at the watch face?…That is done with Haptics.…Haptics are sounds and vibrations…from the Haptic engine in the watch.…Where taps and sounds let the user know…something is happening.…In this lesson I'll explain to you…how to use Haptics in your watch OS applications…by creating a catalog of all the Haptics…in a Picker.…Load the example starter from the downloads folder,…you'll see I did several things for you.…On the storyboard we have a picker…and we have a button.…If you open up the assistant editor,…you'll see we have an outlet picker,…we have a button play haptic action,…and we have an action to the picker…called picker did change.…
You can close that up.…Open up the navigator,…head over to interface controller.…So, there's two parts of a haptic…you need to know about.…There's a play function you call on the current…device object called WKInterfaceDevice.current,…the play method has one parameter of type WK Haptic type,…which is an enumeration of all types of haptics.…
- Principles of watchOS development
- Adding buttons and labels to your app
- Connecting objects to code
- Testing a watchOS app
- Laying out WatchKit UI objects
- Adding navigation
- Using Interface Library elements such as inputs, pickers, and media players
- Creating tables
- Working with table data
Skill Level Intermediate
Google Firebase for iOS: First Lookwith Joe Marini1h 4m Intermediate
1. A Look at the Apple Watch App
2. Building Your First Apple Watch App
3. Working with UI in watchOS
5. Interface Library
6. Tables and Scrolling
Next steps1m 57s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.