-
Notifications
You must be signed in to change notification settings - Fork 21
tvOS Support
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.
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:
- There is an initial linking issue you may encounter that can be worked around. See https://github.com/omcljs/ambly/issues/116
- There is a discovery issue that can be worked around. See https://github.com/omcljs/ambly/issues/117
- There are still upstream GCDWebServer issues being sorted with respect to tvOS. See, for example: https://github.com/swisspol/GCDWebServer/pull/236
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:
[](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.