Skip to content
No description, website, or topics provided.
Swift C Other
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
BitmarkSDK.playground
BitmarkSDK.xcodeproj
BitmarkSDK.xcworkspace
BitmarkSDK
BitmarkSDKTests
RxBitmarkSDK.xcodeproj
RxBitmarkSDK
Sample/swift-sdk-sample
SwiftCentrifuge
.gitignore
.swift-version
.travis.yml
BitmarkSDK.podspec
CHANGELOG.md
Cartfile
Cartfile.resolved
LICENSE
README.md

README.md

Bitmark SDK for Swift

The official Bitmark SDK for Swift

Build Status codecov CocoaPods CocoaPods CocoaPods Carthage compatible

Setting Up

Prerequisites

  • iOS 11.0+
  • Xcode 10.0+
  • Swift 4.0+

Installing

CocoaPods

CocoaPods is a dependency manager for Cocoa projects. You can install it with the following command:

$ gem install cocoapods

CocoaPods 1.1+ is required to build BitmarkSDK 2.0+.

To integrate BitmarkSDK into your Xcode project using CocoaPods, specify it in your Podfile:

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '11.0'
use_frameworks!

target '<Your Target Name>' do
    pod 'BitmarkSDK'

    # or

    pod 'BitmarkSDK/RxSwift'
end

Then, run the following command:

$ pod install

Carthage

Carthage is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks.

You can install Carthage with Homebrew using the following command:

$ brew update
$ brew install carthage

To integrate BitmarkSDK into your Xcode project using Carthage, specify it in your Cartfile:

github "bitmark-inc/bitmark-sdk-swift" ~> 2.2.0

Run carthage update to build the framework and drag the built BitmarkSDK.framework into your Xcode project.

Swift Package Manager

Comming soon....

Importing

import BitmarkSDK

Extensions

RxSwift

RxSwift extension provides extension to query records / register assets / issue / transfer in ReactiveX way.

Documentation

Please refer to our SDK Document.

Sample code

This is a sample project. It shows how to use Bitmark SDK for Swift.

Opening Issues

If you encounter a bug with the Bitmark SDK for Swift we would like to hear from you. Search the existing issues and try to make sure your problem doesn’t exist yet before opening a new issue. It’s helpful if you could provide the version of the SDK, Swift and OS you’re using. Please include a stack trace and reproducible case if possible.

License

Copyright (c) 2014-2019 Bitmark Inc (support@bitmark.com).

Permission to use, copy, modify, and distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

You can’t perform that action at this time.