- Bugfix: Imperial units returned by
getDistanceFromStation
were incorrect.
- Updated README and made example usage more complete.
- Exposed
Train.debugDescription
to ease debugging.
- Added new method,
getDistanceFromStation()
, that returns the distance from a specifiedCLLocation
and aStation
as a human-readableString
. - Updated documentation formatting
- Updated to Swift 3
- Updated SwiftyJSON
- trainArrayShouldIncludeSpaces -> isSpaceInTrainArray to be consistent with boolean naming convention
- Changed errorCode's type from String? to Int? to facilitate easier custom error handling
- Added more documentation
This is what should have been v.1.0.0.
WMATAFetcher
was refactored considerably to only expose what is needed to the user.- Added Usage
- Added AppleDocs to the classes
Steps toward making this a true API:
- WMATAFetcher is now a class, and must be instantiated with a WMATA API key.
- Fields that should be accessable to the user were made
public
. - Explicitly listed how the Train class relates to IMPredictionTrainInfo.
Initial release.
This is my first CocoaPod, and I should have used a pre-1.0.0 version number here. The WMATAFetcher included in this release was a copy of what I used in my DC Metro Widget, and was not indended for public use.