JavaScript as a First-Class Citizen on iOS 7

Post on 15-Jan-2015

903 views 2 download

Tags:

description

A presentation covering the history of JavaScript on iOS, as well as an overview of how to use the new JavaScriptCore framework on iOS 7.

Transcript of JavaScript as a First-Class Citizen on iOS 7

Copyright © twilio Inc. 2013

JAVASCRIPT AS A FIRST-CLASS CITIZEN ON IOS 7

THUNDER PLAINS CONFERENCE

NOVEMBER 2013

HI. I’M KEVIN.developer evangelist @ twilio

What is twilio?

twilio makes it easy for developers to integrate voice calling and messaging into web and native mobile applications

“We've been there before, and intermediate layers between the

platform and the developer ultimately produces sub-standard apps and hinders the progress of

the platform.”

DEMO

Code or GTFO.

DEMO

Code or GTFO.

A NODE.JS TOOLCHAIN

CommonJS Module SystemPackage Manager

A NODE.JS TOOLCHAIN

Portable node.js environment

A NODE.JS TOOLCHAIN

Native components andscript loading

DEMO

RESOURCES

• JavaScriptCore.h (CMD-click from Xcode)

• node-spritekit: http://github.com/kwhinnery/node-spritekit

• NodeSpriteKit: http://github.com/kwhinnery/NodeSpriteKit

• WWDC 2013 JSCore Talk (Session 615)

• Slides and Video