Latest 0.0.1-alpha.2
Homepage https://github.com/iotize-sas/TapDeviceClientSwift
License MIT
Platforms ios 11.0, osx 10.11, requires ARC
Dependencies TapClientApi, IotizeCore, RxSwift, CryptoSwift
Authors

IoTize Tap device Client

Swift Tap device client implementation.

Warning: This is an early-stage library. It does not contains all the features; Future release may introduce breaking changes. It may be unstable

API Documentation

IoTize

Usage

For the full documentation, refer to the Tap API documentation website

Installation

CocoaPods

Tested with pod –version: 1.4.0

# Podfile
use_frameworks!

target 'YOUR_TARGET_NAME' do
    # Add the core library
    pod 'TapDeviceClient',    '~> 0.0.1-alpha.2'

    # Add communication libraries according to your needs
    # If you want to communicate though sockets with your Tap device
    pod 'TapSocketProtocol',    '~> 0.0.1-alpha.1'

    # If you want to communicate though BLE with your Tap device (Not available yet)
    # pod 'TapBLEProtocol',    '~> 0.0.1-alpha.1'
end

Road map

  • [ ] Remove RxSwift from dep
  • [ ] Clean SocketProtocol dependencies
  • [ ] BLE protocol implementation
  • [ ] Improve error managment
  • [ ] Increase test coverage
  • [ ] Add an iOS demo applicationss
  • [ ] Target lower iOS and OSX versions
  • [ ] Documentation

Contribute

This project use Xcodegen tool to setup xcode projects

SwiftGen

swiftgen config run --config tools/swiftgen/swiftgen.yml

XcodeGen

xcodegen file are genereted with xcodegen tool.

xcodegen && open ./TapDeviceClient.xcodeproj

Carthage

cd ./Tools/Carthage && carthage update --no-use-binary

Latest podspec

{
    "name": "TapDeviceClient",
    "version": "0.0.1-alpha.2",
    "summary": "TapDeviceClient is a Swift implementation of IoTize Tap device client",
    "description": "This is a Swift port of [IoTize Tap Device API](http://developer.iotize.com).nn[IoTize](https://iotize.com)",
    "homepage": "https://github.com/iotize-sas/TapDeviceClientSwift",
    "license": "MIT",
    "authors": {
        "Stephane Leonard": "[email protected]"
    },
    "source": {
        "git": "https://github.com/iotize-sas/TapDeviceClientSwift.git",
        "tag": "0.0.1-alpha.2"
    },
    "requires_arc": true,
    "platforms": {
        "ios": "11.0",
        "osx": "10.11"
    },
    "source_files": [
        "Sources/Features/TapClient/Sources/**/*.swift",
        "Sources/Features/TapClient/Sources/*.swift"
    ],
    "swift_version": "4.0",
    "dependencies": {
        "TapClientApi": [
            "0.0.1-alpha.1"
        ],
        "IotizeCore": [
            "0.0.1-alpha.1"
        ],
        "RxSwift": [
            "~> 4.0"
        ],
        "CryptoSwift": [
            "~> 0.13"
        ]
    }
}

Pin It on Pinterest

Share This