iOS-cloud-SDK 0.1.1

iOS-cloud-SDK 0.1.1

TestsTested
LangLanguage SwiftSwift
License MIT
ReleasedLast Release May 2017
SwiftSwift Version 3.0
SPMSupports SPM

Maintained by Paasmer.



  • By
  • Paasmer

Paasmer Cloud SDK for iOS

The Paasmer Cloud SDK for iOS is an easy-to-use wrapper for the Paasmer REST API, providing a clear, type-safe way for your Android app to interact with connected products, all via the Paasmer Cloud. SDK features include:

  • User sign up and sign in.
  • Getting a list of a devices.
  • Reading information on devices
  • Controlling devices.
  • Publishing events from mobile devices, and subscribing to events published by devices & apps

The complete SDK sources are available to browse on GitHub, and can be downloaded as a zip file.

For usage info, check out the app module included in the git repository.

Beta notice

While this SDK is ready for production use, it is still under development and is currently in beta. The API is mostly stable, but may be subject to further changes prior to leaving beta. Once the SDK leaves beta, the API should never change outside of “major” version updates.

Installation

The iOS-cloud-SDK is a cocoapod. Create a Podfile if you do not already have one. Information on installing cocoapods and creating a Podfile can be found at Cocoapods.org.

  • Run sudo gem install cocoapods from the command line to install cocoapods.
  • Run pod init to create a Podfile.

Open the Podfile and add the following dependency:

pod “iOS-cloud-SDK”, :git => "https://github.com/PaasmerIoT/iOS-Cloud-SDK"

Save your Podfile and run ‘pod install’ from the command line.

After installing the pod, install.sh file can be found in iOS-cloud-SDK folder. Run the shell script by using the command line

sh install.sh

Once shell script execution is completed, you will get a Paasmerfiles folder in the project directory. Follow the below steps to add Paasmerfiles to the project workspace.

  • Go to 'Target’ in your project workspace.
  • Open 'Build Phases’
  • Go to compile sources and add all the .swift files in Paasmerfiles folder to project workspace

Now iOS-cloud-SDK is ready to use.