BART Fares didn’t have much functionality before yesterday. It would just retrieve the current fare using the BART API. I was thinking about features that bay area travelers would find useful. One feature that BART Fares was missing was the ability to locate a nearby station.

I quickly implemented this location function into the app by retrieving the latitude and longitude of the areas around the stations. After that, I simply retrieved the current location using CLLocationManager.

nearest station alertThe app would store the latitude and longitude values in double variable types and check the user’s latitude and longitude with the stations’ components. If the user was near a station (about 1 mile), the app would alert him/her and provide the locations’ addresses.

I submitted the update to Apple today. If v1.3 clears Apple’s hurdles, the update will be out by next week.