Latest 0.0.5
License MIT
Platforms ios 9.0, osx 10.10

CI Status
Carthage compatible


  • An API key and user ID from PTV. You can get one from here.



SwiftPTV is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod 'SwiftPTV'


SwiftPTV is also available through Carthage. To install
it, add the following line to your Cartfile:

github "evilgoldfish/SwiftPTV"

Run carthage update to build the framework and drag the newly built SwiftPTV.framework into your Xcode project.


You can run the included example app by cloning the repository, opening SwiftPTV.xcodeproj and choosing the SwiftPTVExampleiOS scheme on the top left of the Xcode window.


  • evilgoldfish


SwiftPTV is available under the MIT license. See the LICENSE file for more info.

Data License

The PTV Timetable API Data is licensed under a Creative Commons Attribution 4.0 International Licence. Data from Public Transport Victoria is not supplied with this framework, but using the PTV Timetable API Data requires the following attribution:

Source: Licensed from Public Transport Victoria under a Creative Commons Attribution 4.0 International Licence.

See the PTV website for more information.

Latest podspec

    "name": "SwiftPTV",
    "version": "0.0.5",
    "summary": "A PTV Timetable framework written in Swift.",
    "description": "PTV Timetable V3 API framework for iOS and macOS written in Swift, with growing support for all of the REST API.",
    "homepage": "",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    "authors": "Evan",
    "source": {
        "git": "",
        "tag": "0.0.5"
    "social_media_url": "",
    "platforms": {
        "ios": "9.0",
        "osx": "10.10"
    "source_files": "Classes/**/*.{swift}",
    "pushed_with_swift_version": "3.0"

Pin It on Pinterest

Share This