I have a bus stop right outside my door. I also happen to have colored
HomeKit lights. When catching the bus, I hate to get out there too early,
just to find the bus being late.
This is a native iPad app for displaying real time departure information for
SL bus stops - using HomeKit lights.
Written in Objective-C.
This project uses Cocoapods for dependency management.
Dependencies are declared in the Podfile
.
# Installing Cocoapods for Xcode 8 + 9
$ sudo gem install cocoapods
# Clone the repo
$ git clone https://github.com/jberglinds/realtidsinfo.git
$ cd realtidsinfo
# Install dependencies with Cocoapods
$ pod repo update
$ pod install
# Open the workspace in Xcode (Not .xcodeproj/ !)
$ open Realtidsinfo.xcworkspace/
The app gets its data from the Trafiklab APIs.
In order for this to work, you need to set up your own Trafiklab account and
populate the Realtidsinfo/API-keys.plist
file with your own API keys.
The app currently uses the following Trafiklab APIs:
- SL Realtidsinformation 4 (realtimedeparturesV4)
- SL Platsuppslag (typeahead)
- SL Närliggande hållplatser (nearbystops)
- AFNetworking - HTTP Networking
- Regexer - Obj-C regex simplifier Written in Objective-C.