nswrap/examples/bluetooth/nswrap.yaml
Greg dcb7105fca Complete the Delegates wrapper. Disambiguate polymorphic methods.
Bluetooth example is now a functioning heart rate monitor. Additional
bug fixes in Go types (instances where *Id needs to be used instead
of NSObject).
2019-05-10 02:00:56 -04:00

33 lines
769 B
YAML

inputfiles:
- /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h
- /System/Library/Frameworks/CoreBluetooth.framework/Headers/CoreBluetooth.h
classes:
- NSObject
- NSData
- CBManager
- CBCentralManager
- CBPeripheralManager
- CBPeripheral
- CBCentral
- CBService
- CBAttribute
- CBCharacteristic
- CBDescriptor
- CBError
- CBUUID
- CBAdvertisementData
- NSArray
- NSMutableArray
- NSDictionary
- NSEnumerator
- NSString
functions: [ NSMakeRange, dispatch_queue_create ]
enums: [ CB.* ]
frameworks: [ Foundation, CoreBluetooth ]
delegates:
BleDelegate: [ CBCentralManagerDelegate, CBPeripheralDelegate ]
pragma: [ clang diagnostic ignored "-Wformat-security" ]