Skip to content

decent-finance/direct-ios

Repository files navigation

CEX Direct Client Framework

Swift Pod Platform License Maintainability Gitter

Requirements

  • Swift 5
  • iOS 11

Installation

You can use CocoaPods or download and link with the framework manually. Support for Carthage will be added soon.

CocoaPods

pod 'CEXDirect'

Usage

You must receive your placement ID and secret to be able to integrate the framework into your application.

Example of usage:

  let cexDirect = CEXDirect(placementID: "your_placement_id", secret: "your_placement_secret")
  if let rootViewController = cexDirect.rootViewController {
      present(rootViewController, animated: true, completion: nil)
  }  

You can also find a demo application inside the project. To make it work you should set your placement ID and secret in the Placement.plist file.

Dependencies

License

   Copyright 2019 CEX.​IO Ltd (UK)

   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.