Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Introducing Skateway 2.0

Chuck Shnider
January 09, 2014
31

Introducing Skateway 2.0

Presented at Ottawa Cocoaheads, 09 January, 2014

Chuck Shnider

January 09, 2014
Tweet

Transcript

  1. Skateway 2.0
    Chuck Shnider
    twitter: @cshnider

    View Slide

  2. 3
    years old
    http://www.flickr.com/photos/ncc-ccn/6516617313/in/photostream/

    View Slide

  3. 1.0 – 1.0.2
    •Winter, 2010/2011
    •Screen-scraping in-app
    •Update app when conditions are broken

    View Slide

  4. 1.5 – 1.6
    •Winter 2011/2012
    •Own Server
    •Wizard of Oz
    •Small Visual Fixes

    View Slide

  5. benign neglect

    View Slide

  6. time for a reboot…
    •iOS7 only
    •visual refresh
    •modern codebase
    •only a few model classes were ported at all

    View Slide

  7. UI Changes
    http://www.flickr.com/photos/56879526@N03/5390243329/

    View Slide

  8. View Slide

  9. UI Changes
    •Get rid of all adornment
    •Maybe went too far
    •Get rid of UITabBar on iPhone
    •Schedule pressure!

    View Slide

  10. View Slide

  11. View Slide

  12. Optimize 

    for 

    4-inch iPhone

    View Slide

  13. View Slide

  14. French
    Localization
    http://www.flickr.com/photos/ncc-ccn/8044322027/

    View Slide

  15. Localization
    •Used “base” localization support
    •Not magic, you still need scripts!
    •Text substitution client-side
    •Sometimes need to detect UI language

    View Slide

  16. View Slide

  17. Character Encodings is hard!!!

    View Slide

  18. Background
    Refresh
    http://www.flickr.com/photos/56879526@N03/5390254551/

    View Slide

  19. Background Refresh
    •An experiment
    •Perceived Speed Increase
    •Helpful for offline viewing
    •Background Fetch vs. Silent Push

    View Slide

  20. Seasonality
    •Should consume ZERO power when skating
    season is over.
    •Can you climb back out of the ghetto?
    •Signalling mechanisms for the OS
    • UIApplication 

    -setMinimumBackgroundFetchInterval:

    View Slide

  21. 206.248.130.215 - - [09/Jan/2014:01:22:15 +0000] "GET /
    skateway/conditions.json?bg=1&hw=iPhone5%2C1&os=7.0.4 HTTP/
    1.1" 200 543 "-" "Skateway/2.0 (iPhone; iOS 7.0.4; Scale/
    2.00)"
    Treat as an Experiment
    206.248.130.215 - - [09/Jan/2014:01:22:15 +0000] "GET /
    skateway/conditions.json?bg=0&hw=iPhone5%2C1&os=7.0.4 HTTP/
    1.1" 304 0 "-" "Skateway/2.0 (iPhone; iOS 7.0.4; Scale/
    2.00)"

    View Slide

  22. View Slide