Contents

About the Authors

Acknowledgments

Introduction

image Chapter 1: Getting Started with the New Apple TV

Lots of Good News

Capabilities

The Siri Remote

Apple TV’s Limitations

Advantages with tvOS Development

Some Notes About Developing in Swift with tvOS

The tvOS Focus Engine

What Does Focusable Mean?

Summary

Exercises

image Chapter 2: The tvOS Weather App

Designing the View

Adding the Code for the View

Summary

Exercises

image Chapter 3: Stack Views and the Focus Engine

Auto Layout and Stack Views

Implementing Stacks

The Focus Engine

A Focus Engine Example

Summary

Exercises

image Chapter 4: Creating a Photo Gallery App

Page View Controllers

Creating the Photo Gallery App

A Little Project Cleanup

Adding the Page View Controller

Adding Scenes to the Interface Builder Canvas

Adding the Photo and Album Data Model Structures

Adding the Photo Image Files to the Asset Catalog

Completing the Photo Gallery App

Summary

Exercises

image Chapter 5: Adding an Album Browser to the Photo Gallery App

Table View Controllers

Adding a Table View Controller to the Photo Gallery App

Adding the Gallery Data Model Structure

Adding the Cities and Landscapes Image Files to the Asset Catalog

Completing the Photo Gallery App

One More Thing: Adding a Custom Static Top Shelf Image

Summary

Exercises

image Chapter 6: Adding a Dynamic Top Shelf to the Photo Gallery App

Application Extensions

Adding Classes and Images to the Photo Gallery Extension

Implementing the TVTopShelfProvider Protocol

Launching the Photo Gallery App from a Top Shelf Thumbnail Image

Handling URLs

Completing the Photo Gallery App

Summary

Exercises

image Chapter 7: Storing and Sharing Data

Preferences

Writing Preferences

Reading Preferences

iCloud

Summary

Exercises

image Chapter 8: CloudKit

Considerations for Using CloudKit

CloudKit Containers

Database

CloudKit Databases

Database Records

Example CloudKit App

Summary

Exercises

Index

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset