13. Paper
There’s a range of fidelity
POP
InVision
Proto.io
Flinto
FieldTest
Edge
Animate
After Effects
Briefs
Axure
Quartz Composer
Avocado
Origami
Framer.js
Pixate
Native
LOW HIGH
jQuery Mobile
Sencha
Quartz Code
34. Events & States
# Toggle states on click
layerA.on Events.Click, ->
# Cycle through all states
imageLayer.states.next()
!
# Cycle through chosen states
imageLayer.states.next(“spin","fade")
!
# Jump to a specific state
imageLayer.states.switch "spin"
35. Dragging
# Make the layer draggable
layerA.draggable.enabled = true
# Set dragging speed
layerA.draggable.speedX = 1
!
# Prevent vertical dragging
layerA.draggable.speedY = 0
36. Scrolling
# The superLayer
layerA = new Layer
height:100
!
# The subLayer
layerB = new Layer
height:200, superLayer:layerA
!
# Enable scrolling on the superLayer
layerA.scroll = true
37. Extend with other frameworks
Add parallax
Add maps
Use real data
Other touch events