WatchOS 2 App Development Essentials
Table of Contents
- watchOS 2 Apps – An Overview
- Building an Example watchOS 2 WatchKit App
- An Overview of the watchOS 2 App Architecture
- An Example Interactive watchOS 2 App
- About the Example App
- Creating the TipCalcApp Project
- Adding the WatchKit App Target
- Designing the WatchKit App User Interface
- Reviewing the Interface Controller Class
- Establishing Outlet Connections
- Establishing Action Connections
- Implementing the sliderChange Action Method
- Implementing the calculateTip Action Method
- Hiding the Tip Label
- Removing the WatchKit App
- An Overview of WatchKit Tables in watchOS 2
- The WatchKit Table
- Table Row Controller
- Row Controller Type
- Table Row Initialization
- Implementing a Table in a WatchKit App Scene
- Adding the Row Controller Class to the Extension
- Associating a Row Controller with a Row Controller Class
- Creating Table Rows at Runtime
- Inserting Table Rows
- Removing Table Rows
- Scrolling to a Specific Table Row
- Summary
- A watchOS 2 WatchKit Table Tutorial
- About the Table Example
- Creating the Table Project
- Adding the Table to the Scene
- Creating the Row Controller Class
- Establishing the Outlets
- Connecting the Table Outlet
- Creating the Data
- Adding the Image Files to the Project
- Testing the WatchKit App
- Adding a Title Row to the Table
- Connecting the Outlet and Initializing the Second Table Row
- Implementing watchOS 2 WatchKit Table Navigation
- Table Navigation in WatchKit Apps
- Performing a Scene Transition
- Extending the TableDemoApp Project
- Adding the Detail Scene to the Storyboard
- Adding the Detail Interface Controller
- Adding the Detail Data Array
- Implementing the didSelectRow Method
- Modifying the awakeWithContext Method
- Adjusting the Interface Controller Insets
- watchOS 2 Page-based User Interfaces and Modal Interface Controllers
- A watchOS 2 WatchKit Page-based Interface Tutorial
- Creating the Page Example Project
- Adding the Image Files to the Project
- Designing the First Interface Controller Scene
- Adding More Interface Controllers
- Establishing the Segues
- Assigning Interface Controllers
- Adding the Timer Interface Controller
- Adding the Modal Segues
- Configuring the Context Data
- Configuring the Timer
- Playing the Haptic Effect
- Handling User Input in a watchOS 2 WatchKit App
- An Introduction to Watch Connectivity in watchOS 2
- Watch Connectivity Communication Options
- Application Context Mode
- User Information Transfer Mode
- File Transfer Mode
- Interactive Messaging Mode
- WatchConnectivity Session Creation
- Obtaining Session State Information
- The watchDirectoryURL Property
- Sending and Receiving Application Context Data
- Sending and Receiving User Information Data
- Transferring Files
- Sending and Receiving Interactive Messages
- Summary
- A watchOS 2 WatchConnectivity Messaging Tutorial
- About the Project
- Creating the Project
- Enabling Audio Background Mode
- Designing the iOS App User Interface
- Establishing Outlets and Actions
- Initializing Audio Playback
- Implementing the Audio Control Methods
- Initializing the iOS App Watch Connectivity Session
- Designing the WatchKit App Scene
- Initializing the WatchKit App Connectivity Session
- Sending the Message to the iOS app
- Handling the Message in the iOS app
- Testing the Application
- A watchOS 2 WatchKit Dynamic Layout and Animation Tutorial
- An Introduction to the watchOS 2 WatchKit WKInterfacePicker Object
- An Overview of the WKInterfacePicker Object
- Adding a Picker Object to a Storyboard Scene
- Understanding Picker Object Attributes
- Understanding Picker Object Styles
- Creating Picker Item Objects
- Setting the Currently Selected Item
- Coordinating Animations
- Requesting Focus for the Picker Object
- Enabling and Disabling a Picker Object
- Responding to Picker Changes
- A watchOS 2 WatchKit Picker Tutorial
- A WatchKit WKInterfacePicker Coordinated Animation Example
- About the Coordinate Image Picker Project
- Generating Radial Animations
- Creating the Example Project
- Designing the WatchKit App user Interface
- Adding the Picker Image Sequences to the Project
- Adding the Group Background Image Sequences to the Project
- Implementing the Picker Animation Sequence
- Configuring the Group Background Animation
- Testing the App
- Playing Movies and Audio on watchOS 2 using the WKInterfaceMovie Class
- A watchOS 2 WatchKit Audio Recording and Playback Example
- The Audio Recording Controller
- Launching the Audio Recording Controller
- Using App Groups to Share Media File Access
- The Audio Recording and Playback Tutorial
- Designing the Main Storyboard Scene
- Creating and Joining the App Group
- Constructing the Save File URL
- Implementing the Recording Code
- Implementing the Playback Code
- Testing the WatchKit App
- A watchOS 2 Complication Tutorial
- About the Complication Project
- Creating the Complication Project
- Configuring the Supported Complication Families
- Adding the Data and Image to the Data Source
- Implementing the Placeholder Delegate Method
- Configuring Travel Directions
- Adding a Timeline Entry Creation Method
- Specifying the Timeline Start and End Dates
- Providing the Current Timeline Entry
- Providing the Remaining Timeline Entries
- Adding the Complication to a Clock Face
- Testing the Complication
<google>BUY_WATCHOS2</google>
Table of Contents | Next | |
watchOS 2 Apps – An Overview |