UCLKit

0.1.0

UCL API wrapper in Swift
tiferrei/UCLKit

What's New

Hello World! 🎉

2017-06-01T18:48:33Z

UCLKit is live!
Version 0.1 of UCLKit supports all current API endpoints and requests.

All endpoints and properties match the ones in the API Docs. More detailed documentation will be posted to the wiki soon.

Testers needed,
enjoy!

Welcome to UCLKit


UCLKit CI Status Carthage compatible Platform: macOS Mavericks (10+) Platform: iOS 8+ Platform: watchOS 2.1+ Platform: tvOS 9+ Language: Swift 3


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.

Description

  • Swift Tools
View More Packages from this Author

Dependencies

  • None
Last updated: Sun Mar 17 2024 16:52:19 GMT-0900 (Hawaii-Aleutian Daylight Time)