create shared URL cache
add NSURLCache
check last-modified header in http response
doesn't make decision about caching yet - just gets information
sort station results array by number of available bikes (descending)
make http request on app load
create station object, add nsurlcache to appdelegate header
not using station object yet - may need to remove this later
add nsurlcache to appdelegate
trying to force response to cache without cache-control header

headers (via curl -i http://www.citibikenyc.com/stations/json)
----------
HTTP/1.1 200 OK
Date: Tue, 19 Aug 2014 03:07:30 GMT
Server: Apache/2.2.15 (Red Hat)
X-Powered-By: PHP/5.4.30
x-version: 1.0
Last-Modified: Tue, 19 Aug 2014 03:07:01 GMT
Vary: Accept-Encoding,User-Agent
Connection: close
Transfer-Encoding: chunked
Content-Type: application/json
----------
CACHE STUFF CACHE STUFF CACHE STUFF
also delete unnecessary code (commented it out & functionality didn't change)
also NSLog disk usage - WORKING
fix spacing
sort by number of bikes
might have had this functionality already
deleted and re-did a lot
it's here now
latest attempt at caching
N.B. revert changes to storyboard ASAP
make cacheAndLoadStations instance (as opposed to class) method
bad commit message - pushing to show Stephen
sorry guys
Implement caching
- use synchronous instead of async request
- sort and return array
- remove NSURLConnection from SearchMapViewController to test
comment out request to JSON feed
comment out other duplicate NSURL connections and replace with app delegate
delete duplicate JSON request
delete unused class
delete extraneous closing brace
delete unused view controller