CloudBoost 0.2

CloudBoost 0.2

TestsTested
LangLanguage SwiftSwift
License MIT
ReleasedLast Release Jun 2016
SPMSupports SPM

Maintained by Randhir Singh.



CloudBoost Swift SDK

Installation

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

pod "CloudBoost"

install by:

pod install

close currently open project and open the project in .xcworkspace

add CloudBoost to your project screen shot 2016-05-11 at 2 04 26 pm

Usage:

import CloudBoost in your swift file

import CloudBoost

Using CloudBoost in code

// Creating a new CloudApp with your appID and appKey
let app = CloudApp(appID: "Your-app-ID", appKey: "Your-app-key")

// Enable Logging, defaults to false
app.setIsLogging(true)

// Create a new table
let obj = CloudObject(tableName: "Student")

// Set attributes
obj.set("name", value: "Randhir")
obj.set("marks", value: 99)

// Save the table, with a callback. response is in the form of CloudBoostResponse
obj.save({ response in
    response.log()
})

Author

Randhir Singh, [email protected]

License

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