All Versions
9
Latest Version
Avg Release Cycle
199 days
Latest Release
675 days ago

Changelog History

  • v2.2.1 Changes

    November 20, 2020

    ๐Ÿ›  Fix peripheral disconnect not always firing

  • v2.2.0 Changes

    November 19, 2020

    You can now listen to Peripheral disconnection using the Peripheral.PeripheralDisconnected notification center event.

    You can listen to this notification roughly like this:

    NotificationCenter.default.addObserver(forName: Peripheral.PeripheralDisconnected, object: peripheral, queue: nil) { (notif) inif let peripheral = notif.object as? Peripheral { print("Peripheral disconnected") } if let error = notif.userInfo?["error"] as? Error { print("Peripheral disconnected with error") } }
    

    Whereas peripheral is an instance of Peripheral.

  • v2.1.0 Changes

    September 21, 2020

    โž• Added swift package manager support as well as compatibility with macos and tvos for both SPM and Cocoapods.

    Thanks @levi !

  • v2.0.0 Changes

    September 03, 2020

    ๐Ÿšš Move to Swift 5.0, fix many warnings and use the now standard Swift Result type.

  • v1.0.0 Changes

    September 24, 2017

    ๐Ÿšš Moved to Swift 4

  • v0.4.0 Changes

    May 23, 2017
    • Now using a Result enum type instead of optional Errors in callbacks
    • โž• Added state restoration
  • v0.2.0 Changes

    November 28, 2016

    ๐Ÿ“š Updated documentations and all APIs to support swift 3

  • v0.1.1 Changes

    August 03, 2016

    ๐Ÿ›  Fixed registration to characteristic using charac UUID for the service UUID

  • v0.1.0 Changes

    July 12, 2016

    โœ… First test version, the API is still subject to significant change in the near future, notably the CBDescriptor related api