A talk about the development environments of the new Apple TV 4, at the do{iOS} 2015 conference in Amsterdam. Non-technical, general overview.
Contains some videos which are not supported on SlideShare as far as I know, but I will twiddle with youtube later.
13. Twofold opportunities
• iOS devs can reuse their knowledge
• web devs can reuse their js+xml knowledge
Shhhh! Please don’t tell
your web friends this!
37. • Difference LSR and LCR files
• Creating in Xcode: drag & export
• create LCR file using layerutil, which converts LSR
to LCR.
• LCRs can be used within UIImageviews
• unfortunately, no reverse version of layerutil yet
39. Gotchas w.r.t. icons
Large-AppIconScratch-.xcassets:
The last image stack layer with content, "Back", must be a
fully opaque bitmap. The pixel at position (602, 475) has an
alpha value of 26.
Xcode compiler error:
you need 3 icon layers!
no transparency in back layer
41. TVML app
• Client-Server
• Written in ‘TVJS’, a javascript framework
• AppDelegate contains URL
• start TVApplicationController
• Use standard web techniques for
deployment, analytics, A/B testing etc.
42. TVML
• you can now totally change an app after you went
through the app approval phase.
• ideal for existing web based content
• Tons of standard TVML templates for e.g. alerts,
lists, photo stacks
43.
44. but wait!
You can also put TVML applications
inside UIViewControllers!
48. Really easy to test
TVML app
python server
however (due to caching?): for each new js
tweak you need to reload the app from
Xcode. Killing it doesn’t seem to work
49. No local storage (!)
apart from NSUserDefaults
➔ iCloud KVS (< 1MB) and CloudKit
➔ On-Demand Resources