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

Introducing Skateway 2.0

43ad46ec99f6df6051e9915ab9e7225c?s=47 Chuck Shnider
January 09, 2014
17

Introducing Skateway 2.0

Presented at Ottawa Cocoaheads, 09 January, 2014

43ad46ec99f6df6051e9915ab9e7225c?s=128

Chuck Shnider

January 09, 2014
Tweet

Transcript

  1. Skateway 2.0 Chuck Shnider twitter: @cshnider ∑

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

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

    conditions are broken
  4. 1.5 – 1.6 •Winter 2011/2012 •Own Server •Wizard of Oz

    •Small Visual Fixes
  5. benign neglect

  6. time for a reboot… •iOS7 only •visual refresh •modern codebase

    •only a few model classes were ported at all
  7. UI Changes http://www.flickr.com/photos/56879526@N03/5390243329/

  8. None
  9. UI Changes •Get rid of all adornment •Maybe went too

    far •Get rid of UITabBar on iPhone •Schedule pressure!
  10. None
  11. None
  12. Optimize 
 for 
 4-inch iPhone

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

  15. Localization •Used “base” localization support •Not magic, you still need

    scripts! •Text substitution client-side •Sometimes need to detect UI language
  16. None
  17. Character Encodings is hard!!!

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

  19. Background Refresh •An experiment •Perceived Speed Increase •Helpful for offline

    viewing •Background Fetch vs. Silent Push
  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:
  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)"
  22. None