4 ms·
I believe this XML+JS thing was the only way to write apps for the old Apple TV. Various postings on the internet seem to suggest this from way back; the old SD
by 0x0 11y ago
I believe this XML+JS thing was the only way to write apps for the old Apple TV. Various postings on the internet seem to suggest this from way back; the old SDK was probably only ever available to a select few handpicked appletv channel partners.
What's new in the new tvOS SDK is that you can also write native apps in Objective-C/Swift, with a main() function that starts up UIKit, and with access to most of the normal iOS APIs (like OpenGL, SceneKit, etc etc).
- msie 11y agoI was confused at first because TVML seemed more prominent in the marketing/developer materials. But we just saw a game run on Apple TV so yeah, you could write native apps w/o the TVML.
- __abc 11y agoThis was confusing for A LOT of people!!
- conradev 11y agoCorrect. You could actually modify the HTTP proxy settings and trusted certificates on the device and run your own applications using a man in the middle attack. Plex had a version that supported this: https://github.com/iBaa/PlexConnect https://github.com/iBaa/PlexConnect
- vosper 11y agoFor anyone wondering about this, I've been using it for a while and it works great - the Trailers app now loads the Plex UI for me. I've barely had to touch it since the initial setup.
- ascagnel_ 11y agoI've had worse results -- after a few days, I need to restart the python process as it'll start to block outbound requests.