Latest1.2.1
Homepagehttps://github.com/CanalTP/NavitiaSDKUX_ios
LicenseGPL-3
Platformsios 9.0
Authors

NavitiaSDKUX

Version
License
Platform
Build Status

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Installation

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

pod "NavitiaSDKUX"

Getting started

class ViewController: UIViewController {
    override func viewDidLoad() {
        super.viewDidLoad()

        // Init the token is mandatory
        NavitiaSDKUXConfig.setToken(token: "my-token")

        // Init a set of parameters
        let params = JourneySolutionsController.InParameters(originId: "2.3665844;48.8465337", destinationId: "2.2979169;48.8848719")

        let bundle = Bundle(identifier: "org.cocoapods.NavitiaSDKUX")
        let storyboard = UIStoryboard(name: "Journey", bundle: bundle)
        let journeyResultsViewController = storyboard.instantiateInitialViewController() as! JourneySolutionsController
        journeyResultsViewController.setProps(with: params)

        // Invoke the screen using a navigation controller
        navigationController?.pushViewController(journeyResultsViewController, animated: true)
    }
}

Latest podspec

{
    "name": "NavitiaSDKUI",
    "version": "1.2.1",
    "summary": "An awesome framework to offer cool transport stuff to your users",
    "description": "This SDK provides journey computation screens you can add to your application.",
    "homepage": "https://github.com/CanalTP/NavitiaSDKUX_ios",
    "license": {
        "type": "GPL-3",
        "file": "LICENSE"
    },
    "authors": {
        "Kisio Digital": "[email protected]"
    },
    "source": {
        "git": "https://github.com/CanalTP/NavitiaSDKUX_ios.git",
        "tag": "1.2.1"
    },
    "platforms": {
        "ios": "9.0"
    },
    "source_files": [
        "NavitiaSDKUI/Framedation/**/*.{h,m,swift}",
        "NavitiaSDKUI/UI/**/*.{h,m,swift}",
        "NavitiaSDKUI/Lib/**/*.{h,m,swift}",
        "NavitiaSDKUI/*.{h,m,swift}"
    ],
    "resources": [
        "NavitiaSDKUI/Resources/**/*.*",
        "NavitiaSDKUI/Storyboard/**/*.*",
        "NavitiaSDKUI/UI/**/*.xib"
    ],
    "pushed_with_swift_version": "4.1"
}

Pin It on Pinterest

Share This