Unfinished commit. Added FMDB to project. Created schema for gtfs.db. Some notes on how data should be structured as classes, e.g. stop, route, arrival, etc. Going to try out some approaches.
Added BusData folder and and classes there. So far can read schema file and setup db in the apps documents folder.
Succesfully download and insert csv files. Unfortunately performing the inserts takes forever :(. Going to switch to just downloading a .db file and saving that to the filesystem whenever an udpate needs to be performed.
Now use database file from project. Downloading from internet to be done later. Working on stubbing out data methods for now. So far can get nearby stops ordered by distance from a location.
Switched nearbyVC to using BDStopData
Added zoom to user location button in embedded mapview
Started fleshing out arrivals data, process for acquiring it. In the middle of the process, but a lot of changes so I'm committing anyways.
Add stops to arrivalsVC using GTFS data
arrivalsVC now presents a list of arrivals grouped by tripheadsign and route.
ArrivalsVC now gets updated with obaData internally, still need to implement view
Bugfixes and improvements, still not showing live results in arrivalsVC.
Fixed midnight bug
arrivalsVC now updates itself to display the realtime arrival information from the OBA api.