Ceskasporitelna/cs-uniforms-sdk-ios


License
GPL-3.0+

Documentation

CSUniforms SDK

Carthage compatible

This SDK allows you to list and submit Uniforms to Česká spořitelna a.s. UniForms API.

CHANGELOG

Requirements

  • iOS 8.1+
  • Xcode 8.3+

LockerUI Installation

Install through Carthage

If you use Carthage you can add a dependency on CSLockerUI by adding it to your Cartfile:

github 'Ceskasporitelna/cs-uniforms-sdk-ios'

Install through CocoaPods

You can install CSUniforms by adding the following line into your Podfile:

#Add Ceska sporitelna pods specs respository
source 'https://github.com/Ceskasporitelna/cocoa-pods-specs.git'
source 'https://github.com/CocoaPods/Specs.git'

# Include mandatory CSCoreSDK
pod 'CSCoreSDK'

pod 'CSUniforms'

Usage

After you've installed the SDK using Carthage or CocoaPods You can simply import the module wherever you wish to use it:

import CSUniforms

Configuration

You have to configure and initialize CSCoreSDK before using CSUniforms SDK.

You can find example of CoreSDK configuration below:

func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
        CoreSDK.sharedInstance
            .useWebApiKey("YourApiKey")
            .useEnvironment(Environment.Sandbox)
        //Now you are ready to obtain the Uniforms client
        let client = Uniforms.sharedInstance.client;
        return true
    }

For more configuration options see CoreSDK configuration guide

Usage guide

See Usage Guide for usage instructions.

TIP! - You can also learn Uniforms SDK by example in our demo!

Contributing

Contributions are more than welcome!

Please read our contribution guide to learn how to contribute to this project.

Terms and License

Please read our terms & conditions in license