loadRequest: to load a web page
stringByEvaluatingJavaScriptFromString:
@"alert('hello') to execute javascript
Slide 7
Slide 7 text
loadRequest: to load a web page
stringByEvaluatingJavaScriptFromString:
@"alert('hello') to execute javascript
runtime invokes callback methods on your
delegate class on link click events
Slide 8
Slide 8 text
loadRequest: to load a web page
stringByEvaluatingJavaScriptFromString:
@"alert('hello') to execute javascript
basis of hybrid apps and frameworks
runtime invokes callback methods on your
delegate class on link click events
Slide 9
Slide 9 text
No content
Slide 10
Slide 10 text
resource intensive
SLOW APPS
must run on main thread
synchronous
same process
#1 cause of crashes
Slide 11
Slide 11 text
WKWebview iOS 8
Slide 12
Slide 12 text
WKWebview iOS 8
separate process
message handlers w/ auto-serialization
script injection on doc load start/end
Nitro JS engine
3x faster Sunspider benchmarks
Designed for displaying web content
Slide 13
Slide 13 text
what it is + why we should care
JSCore on iOS
Slide 14
Slide 14 text
JSCore on iOS
Safari’s nitro JS engine exposed as a framework
No webviews needed, multi-threaded
What makes React Native possible