JavaScript as a First-Class Citizen on iOS 7
summary
Shows that iOS 7 ships a usable JavaScriptCore system framework so native Objective‑C apps can embed a JS VM, evaluate scripts, call JS functions and expose Objective‑C blocks and classes to JavaScript. Demonstrates a workflow using browserify + watchify to bundle CommonJS modules, wires JS into native APIs, and builds a small Sprite Kit game that spawns physics‑enabled sprites on touch. Code runs on device and logs correct results (2+2 → 4, function calls return expected values).
AI-written summary · about
chapters (6)
- 0:00Introduction and context
- 1:12Hybrid development history
- 3:46JavaScript core on iOS 7
- 5:03Integrating JS in Xcode
- 12:54Building games with Node
- 20:17Resources and conclusion
related talks
26mnative.js: JavaScript in your native mobile apps
23mJavaScript? In *my* native video app's core streaming library?...
28mHello Ball: for cross-platform applications
43mJavaScript on Apple TV
39mHow to access all the Objective-C APIs using JSI
04mJonathan Stark interviewed at OSCON 2010
48mMobile Apps with JavaScript - There's More Than Web
27mJavascript at 20
