Skip to content

Latest commit

 

History

History
37 lines (28 loc) · 1.63 KB

CHANGELOG.md

File metadata and controls

37 lines (28 loc) · 1.63 KB

Version 2.2.2

  • Bugfix: Imperial units returned by getDistanceFromStation were incorrect.

Version 2.2.1

  • Updated README and made example usage more complete.
  • Exposed Train.debugDescription to ease debugging.

Version 2.2.0

  • Added new method, getDistanceFromStation(), that returns the distance from a specified CLLocation and a Station as a human-readable String.
  • Updated documentation formatting

Version 2.1.0

  • Updated to Swift 3
  • Updated SwiftyJSON

Version 2.0.1

  • 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

Version 2.0.0 (codename: "usable")

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

Version 1.0.1

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.

Version 1.0.0

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.