Open norlin opened 8 years ago
The WebView UI is a challenge on tvOS. The non-UI portions using JavaScriptCore should work fine, which allows headless cross-application development.
If there is interest, we can add UITextView to NKElectro on tvOS which uses WebKit behind the scenes to parse HTML. It's far from a full browser environment but paired with JavaScriptCore might solve some basic dashboard type applications for stylized Text.
Until Apple open up WKWebView on tvOS, more complex applications would require using JavaScript to call native UI functions, or use a WebGL port such as phoboslab/Ejecta in combination with NodeKit.
NodeKit is agnostic to the choice of front end framework, so using WebGL universally is a full scope solution.
Thanks. Anyway I decided to use https://github.com/andreasgal/dom.js for my app...
Nice project with good forethought -- IIRC rarer to see ES6 features being used back in 2011. Thanks for the update.
The question is because tvOS does not support UI/WK WebViews (officially).
So, for my purposes, I need to have a browser js environment in tvOS app. Is it possible to have it with NodeKit + some browser environment nodejs module?