Skip to content

tvOS Support

Mike Fikes edited this page Dec 24, 2015 · 14 revisions

tvos Branch

Support for tvOS is currently in the tvos branch. Once we have ironed out any issues, this branch will be merged in to master. For now, just clone this branch in order to mess with this new feature.

Known Issues

tvOS issues are currently being tracked with the tvos tag and can be seen here.

Here are some of the more important ones to be aware of:

Using

The Demo App in ObjectiveC/Ambly Demo has been updated to include a tvOS target. You should be able to use this to establish a REPL into the Apple TV simulator and also into actual Apple TV hardware. This demo app does nothing more than run JavaScriptCore within the app and provide the hooks needed to establish a REPL connection. In particular it doesn't create any UI.

To create your own UI, you could consider using Ejecta, as Ethan Sherbondy has done in this demo:

[tvOS Demo](http://www.youtube.com/watch?v= eaWy5mliO38 "Amboy CLJS running on Apple TV")

Presumably JSExport works, allowing approaches akin to the one used in Goby to establish communication between the ClojureScript and native sides of an app. This stuff is so new, it'll take early adopters to venture forth into creating stuff for this platform.

Clone this wiki locally