jordanebelanger / SwiftyBluetooth

Closures based APIs for CoreBluetooth
MIT License
209 stars 66 forks source link

no way to retrieve peripherals #23

Closed tcurdt closed 7 years ago

tcurdt commented 7 years ago

I don't see this exposed:

https://developer.apple.com/documentation/corebluetooth/cbcentralmanager/1519127-retrieveperipherals

jordanebelanger commented 7 years ago

Humm :S

https://github.com/jordanebelanger/SwiftyBluetooth/blob/e38dfdfb7686e99d983675988bc6228705919464/SwiftyBluetooth/Source/SwiftyBluetooth.swift#L71

https://github.com/jordanebelanger/SwiftyBluetooth/blob/e38dfdfb7686e99d983675988bc6228705919464/SwiftyBluetooth/Source/Central.swift#L168

tcurdt commented 7 years ago

Hm. Seems like it's just that the docs are out of date then:

http://cocoadocs.org/docsets/SwiftyBluetooth/0.2.0/

jordanebelanger commented 7 years ago

Yea looks like cocoadoc is broken and won't update for the latest version, prolly because I changed my account name and something broke.

Looks like we're done providing documentation outside of code :) removed the link from the readme

jakerockland commented 7 years ago

@jordanebelanger have you seen this? https://github.com/realm/jazzy/ 😊