Latest 0.1.0
Homepage https://github.com/tiferrei/UCLKit
License MIT
Platforms ios 8.0, osx 10.10, watchos 2.1, tvos 9.0, requires ARC
Dependencies NBNRequestKit
Authors

Welcome to UCLKit

UCLKit CI Status
Platform: macOS Mavericks (10+)Platform: iOS 8+Platform: watchOS 2.1+Platform: tvOS 9+Codecov

UCLKit is a Swift wrapper for the UCL API. I have developed UCLKit so that Swift developers are able to forget about all the networking, JSON parsing, etc. and with one line, request all the data already fully parsed in object properties, and with the correct Data Types, from the simple String and Int to the more proprietary URL and Date.

Main Features

  • 100% native Swift 3 framework
  • Fast and native networking
  • Smart error handling

How-To

Authentication

Just create a config instance with the token as initialization value:

let config = TokenConfiguration("12345")

After that, well, use it! :)

UCLKit(config).rooms() { response in
  switch response {
  case .Success(let rooms):
    print("The first room's name is (rooms[0].name!)")
  case .Failure(let error):
    print("Oops: (error)")
  }
}

If you need some more help with the framework you can open an issue above, I’ll reply as soon as possible.

Author

Tiago Ferreira | Twitter | Website

License

UCLKit Copyright (C) 2017 Tiago Ferreira

Please check the license file embed in this project for more details.

Latest podspec

{
    "name": "UCLKit",
    "version": "0.1.0",
    "summary": "UCL API wrapper in Swift",
    "description": "UCL API wrapper in Swift.n                  Not maintained by UCL.",
    "homepage": "https://github.com/tiferrei/UCLKit",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Tiago Ferreira": "[email protected]"
    },
    "source": {
        "git": "https://github.com/tiferrei/UCLKit.git",
        "tag": "0.1.0"
    },
    "social_media_url": "https://twitter.com/tiferrei2000",
    "module_name": "UCLKit",
    "dependencies": {
        "NBNRequestKit": [
            "~> 2.0"
        ]
    },
    "requires_arc": true,
    "source_files": "UCLKit/*.swift",
    "platforms": {
        "ios": "8.0",
        "osx": "10.10",
        "watchos": "2.1",
        "tvos": "9.0"
    },
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This