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

Files

Latest commit

8e0bc95 · Aug 20, 2018

History

History
38 lines (25 loc) · 816 Bytes

README.markdown

File metadata and controls

38 lines (25 loc) · 816 Bytes

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;