The tvOS SDK provides all the types and classes made available by Apple for creating applications for Apple TV.
Each Cocoa SDK is spread over several frameworks and core include files. The core C APIs are located in
rtl.fx, which is a package containing pretty much everything defined in
/usr/include. The base framework of core Cocoa classes is called "
Foundation" (shared with macOS), and contains, among many other things,
NSObject, the base type for all Cocoa classes.
More frameworks are shared across sub-platforms, while each sub-platform also provides its own unique frameworks.
Please refer to the Introduction to the Frameworks topic for more information on how the frameworks fit together, and how they differ between the (currently) four separate Cocoa platforms.
For all the SDK frameworks, the Namespace used matches the framework name.
Like in iOS, core types for GUI development are provided in
UIKit, which is similar but different than the same-named framework on iOS. A lot of frameworks are shared with macOS and/or iOS, but tvOS provides a drastically reduced feature set, and of course some elements that are unique to the platform.
Working with tvOS requires Xcode 7.1 or later to be your active Xcode version, as well as Elements 8.2 or later. It is supported in both Fire and Visual Studio.
- Your First Apple TV App with Fire Tutorial
- Your First Apple TV App with Visual Studio Tutorial
- Introduction to the Frameworks
- List of all tvOS SDK Frameworks
- Official tvOS SDK Developer Site
- Official tvOS SDK Documentation