Hi,
I noticed that in objc2-io-bluetooth, IOBluetoothDeviceInquiry::foundDevices is typed to return a Retained<NSArray> when it should be returning a Retained<NSArray<IOBluetoothDevice>> as stated in the description:
Return Value:
Returns an NSArray of IOBluetoothDevice objects.
I think this is due to the method signature being func foundDevices() -> [Any]!
This in turn makes it impossible to iterate over the NSArray. (At least I think. I'm still quite new to Rust)
Hi,
I noticed that in
objc2-io-bluetooth, IOBluetoothDeviceInquiry::foundDevices is typed to return aRetained<NSArray>when it should be returning aRetained<NSArray<IOBluetoothDevice>>as stated in the description:I think this is due to the method signature being
func foundDevices() -> [Any]!This in turn makes it impossible to iterate over the NSArray. (At least I think. I'm still quite new to Rust)