apple tv development

Download Apple TV development

Post on 15-Apr-2017

50 views

Category:

Software

0 download

Embed Size (px)

TRANSCRIPT

  • in prac(ce

    Apple TV development

  • Agenda The Living Room Experience

    Focus-Driven Interface

    Top Shelf

    On-Demand Resources

    Developer tools

  • The Living Room Experience

  • Remote Controllers

  • Focus-Driven Interface

  • Focus-Driven Interface

    Focus Model

  • Focus-Driven Interface

    Focus Model

    Focus Engine

  • Focus-Driven Interface

    Focus Model

    Focus Engine

    Focus API UIFocusGuide

  • UIFocusGuide

  • Focus-Driven Interface

    Focus Model

    Focus Engine

    Focus API UIFocusGuide

    UIFocusEnvironment protocol

  • Lets debug a real example!

  • Why Is This View Not Focusable? The views canBecomeFocused method returns NO.

    The views hidden property has a value of YES.

    The views alpha property has a value of 0.

    The views user interac(on is disabled.

    The view is obscured by another view on top of it.

  • Top Shelf

  • Dynamic Content

    Inset Banners

    Sec(on Content Row

    TVTopShelfProvider

    Sta(c Content

  • On-Demand Resources

  • On-Demand Resources Limita(ons in applica(on size

    Limited NSUserDefaults storage

    Tag your resources!

    Special tags Ini(al Install tag

    Prefetch tag

  • Development and Resources

  • Development Xcode

    tvOS simulator + virtual Siri Remote

    not recommended

    CocoaPods

    Framework Oriented Programming by Pedro Piera (NSBudapest June)

    https://github.com/NSBudapest/NSBudapestMeetup/blob/master/presentations/June/June.md

  • Useful Resources

    Apple TV Human Interface Guideline (link)

    App Programming Guide for tvOS (link)

    UIKit Catalog tvOS demo app (link)

    Apple TV Tech Talks Videos (link)

    https://developer.apple.com/tvos/human-interface-guidelines/https://developer.apple.com/library/tvos/documentation/General/Conceptual/AppleTV_PG/index.htmlhttps://developer.apple.com/library/tvos/samplecode/UICatalogFortvOS/Introduction/Intro.htmlhttps://developer.apple.com/videos/techtalks-apple-tv/

  • Thanks for your a]en(on!Ques(ons?

    Gergo Nemeth

    @reden87

    iOS developer @ Supercharge

    gergo.nemeth@supercharge.io // www.supercharge.io

    https://twitter.com/reden87mailto:gergo.nemeth@supercharge.iohttps://supercharge.io