RobotPajamas / SwiftyTeeth

A simple, lightweight library intended to take away some of the cruft and tediousness of using CoreBluetooth
Apache License 2.0
23 stars 8 forks source link

Replace callbacks with Result pattern #18

Closed sureshjoshi closed 6 years ago

sureshjoshi commented 6 years ago

Having the (Data?, Error?) api feels super hokey... Would rather have a nice, clean Result enum - especially since the results are mutually exclusive

sureshjoshi commented 6 years ago

Will be using a custom Result enum - and maybe will look into switching to AlamoFire's or antitypical's