Skip to content

Commit

Permalink
Merge pull request #9 from teufelaudio/ProxyDelegateSetter
Browse files Browse the repository at this point in the history
Fix setter of proxyDelegate
  • Loading branch information
OguzYuuksel authored Nov 19, 2024
2 parents 122b3e6 + 0d839b6 commit f5cf614
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/CombineBluetooth/Models/BluetoothPeripheral.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public protocol BluetoothPeripheral: BluetoothPeer {
/// `CBPeripheralDelegate` which gets referenced weakly and peripheral's delegate calls
/// get proxied to. Be aware that the `CBPeripheral` within the delegate methods get passed by reference
/// so in case you access their delegate you might overwrite it, thus cancelling this proxyDelegate.
var proxyDelegate: CBPeripheralDelegate? { get set }
var proxyDelegate: CBPeripheralDelegate? { get nonmutating set }

func readRSSI() -> AnyPublisher<NSNumber, BluetoothError>
func discoverServices(_ serviceUUIDs: [CBUUID]?) -> AnyPublisher<BluetoothService, BluetoothError>
Expand Down

0 comments on commit f5cf614

Please sign in to comment.