Shape Shape point chapter-list Group Group Group Group Group Shape Copy 12 Group Shape Shape Copy 3 Shape Shape dropdown editor editor Combined Shape grid Shape Copy 4 Shape Copy 7 Shape language language Shape megaphone paperback Shape platform noun_419259-2 copy play-icon Group BS-Question-Rounded-Circle quotes noun_610406 stacked-books-1 stacked-books-2 Group Group Group Group Group Group Group Group Group Group Group Path
tvOS Apprentice book cover

tvOS Apprentice

  • Platform tvOS 11
  • Language Swift 4
  • Editor Xcode 9

Learn how to make tvOS apps from the ground up, with a series of tutorials for complete beginners!

Developer Guide


For intermediate iOS developers
tvOS Apprentice book cover

Begin tvOS Development with Swift 4

This book is for complete beginners to tvOS development. No prior iOS or web development knowledge is necessary, however the book does assume at least a rudimentary knowledge of Swift.

This book teaches you how to make tvOS apps in two different ways: via the traditional method using UIKit, and via the new Client-Server method using TVML.

If you are new to Swift 4, we suggest you read the Swift Apprentice, which takes you on a comprehensive tour through the Swift language with beginners in mind.

Every single chapter in this book has been updated to Swift 4 to ensure it works flawlessly with Xcode 9 and tvOS 11.

We also recommend

Table of Contents

The tvOS Apprentice is 27 chapters and 536 pages.


This chapter is designed to give you a birds-eye view of how tvOS works and help you decide what to read next.


Hello, TVML

Shows you how to set up a basic Hello World app using TVML and Javascript.


Beginning TVML

You’ll use basic TVML templates to manipulate the UI in a simple application.


Intermediate TVML

Building off of chapter 3, you’ll learn more complicated interfaces and templates.



Start working in Javascript and learn to manipulate the TVML DOM.


Exploiting Native Functionality from TVML

Learn how to take advantage of native libraries and integrate them with your TVML app.


Hello, Traditional App

Learn how to set up a basic “Hello World” app using native libraries in Swift.


Basic Controls

Learn the basic controls your users can use to interact with your apps.


Stack Views

Stack Views are the backbone to the layout of your app – learn how to use them here.


Collection Views

See how easy it is to display a list of items in an engaging layout.



Learn how to set up different forms of screen to screen navigation.



Apple TV uses a whole new Focus paradigm to show the user what control is currently selected – learn how this works and what it means for your apps.



Get ready to add some delightful animation to your tvOS apps!


User Input and the Controller

Learn how your app can interact with the new Apple TV remote.


Beginning Video Playback

One of the most common requirements for Apple TV apps will be to play video – learn how to do that here!


Advanced Video Playback

Learn about some of the more advanced topics in playing videos.


On Demand Resources

Learn how to use Apple’s easy to use storage system, so your app can download assets on the fly.


Beginning CloudKit

Learn how to use CloudKit on tvOS to store your app’s data.


Advanced CloudKit

Go further in depth with CloudKit with user specific storage and error handling.


In-App Purchases



PhotoKit New

Integrate with the user’s Photo Library and Videos.


Multipeer Connectivity New

Enable your Apple TV to communicate with other pieces of Apple hardware.


Native UI in TVML Apps

Learn how to augment the TVML-to-UIKit engine to create custom resources, TVML tags, and styling properties.


tvOS Design

Learn how to design your apps to fit in well with the tvOS ecosystem.


Creating Layered Images

Shows how to create a new kind of image specifically for the TV.


The Top Shelf

The Top Shelf is a new design concept that allows your app to show off specific content – learn how to use this in your apps.


Javascript Crash Course

Developing TVML apps for tvOS requires some Javascript knowledge. If you’re new to Javascript, check here for a quick crash course!

Meet the authors

Christine Abernathy Christine Abernathy RW Team Member
Jawwad Ahmad Jawwad Ahmad RW Team Member
Chris Belanger Chris Belanger RW Team Member
Eric Cerney Eric Cerney RW Team Member
Joshua Greene Joshua Greene RW Team Member
Michael Katz Michael Katz RW Team Member
Kelvin Lau Kelvin Lau RW Team Member
Adrian Strahan Adrian Strahan RW Team Member

Customer reviews

'tvOS Apprentice'

Simple, elegant and fun to read like any other book.

Alberto L.

I was able to get up and running with tvOS in no time with the help of this book. Awesome examples and tutorials make learning tvOS fun and easy.

Stephen B.

Great introduction to creating apps using tvOS and TVML. This book gave us a quick start creating our latest app in the App Store.

Magnus N.
tvOS Apprentice book cover

Get the tvOS Apprentice

Learn how to make tvOS apps from the ground up, with a series of tutorials for complete beginners!