Skip to content
This repository has been archived by the owner on Aug 20, 2018. It is now read-only.

PromiseKit/CoreBluetooth

Repository files navigation

DEPRECATED

THe promises provided here are not-sensible. You should use a full delegate pattern for CoreBluetooth, one shot listening for connectivity is not wise since the accessory may disconnect at any time.

PromiseKit CoreBluetooth Extensions Build Status

This project adds promises to Apple’s CoreBluetooth framework.

CocoaPods

pod "PromiseKit/CoreBluetooth" ~> 6.0

The extensions are built into PromiseKit.framework thus nothing else is needed.

Carthage

github "PromiseKit/CoreBluetooth" ~> 3.0

The extensions are built into their own framework:

// swift
import PromiseKit
import PMKCoreBluetooth
// objc
@import PromiseKit;
@import PMKCoreBluetooth;