Upgrade to Pro — share decks privately, control downloads, hide ads and more …

CocoaHeads SKG #5 - Introduction to tvOS

CocoaHeads SKG #5 - Introduction to tvOS

The awesome @ipavelas makes a sweet introduction to tvOS

CocoaHeadsSKG

June 07, 2016
Tweet

More Decks by CocoaHeadsSKG

Other Decks in Programming

Transcript

  1. What is it? Apps on TV Derived from iOS New

    frameworks TVML, TVJS Storage limitations New UX (Indirect input)
  2. Frameworks Accelerate AudioToolbox AudioUnit AVFoundation AVKit CFNetwork CloudKit CoreBluetooth CoreData

    CoreFoundation CoreGraphics CoreImage CoreLocation CoreMedia CoreSpotlight CoreText CoreVideo Darwin Foundation GameController GameKit GameplayKit GLKi ImageIO MachO MapKit MediaAccessibility MediaPlayer MediaToolbox Metal MetalKit MetalPerformanceShaders MobileCoreServices ModelIO OpenGLES SceneKit Security simd SpriteKit StoreKit Swift Standard Library SystemConfiguration UIKit
  3. TVJS JavaScript Standard DOM classes + EventListenerObject, Keyboard, NavigationDocument etc

    Can exist on a server Can bridge native code with JavaScript Core
  4. NSUserDefaults (limited to 500KB) iCloud Key Value Storage (1MB per

    user, 1024 keys) CloudKit Own server Limited Persistent (local) Storage
  5. New UX - Siri Remote “creates a unique, intimate connection

    with onscreen content” Focus Parallax images Gestures
  6. Focus Engine Swipe to move focus: left, right, up, down

    Internal picture of app’s UI should/ didUpdateFocusInContext setNeedsFocusUpdate
  7. Existing Projects Standalone binary Universal purchase Share code with existing

    iOS apps Add new target New storyboards (1920x1080, scale 1x) TestFlight