in switch event.eventType { case .accessoryAdded: pickedAccessory = event.accessory case .pickerDidDismiss: // ペアリングした機器の識別子をCore Bluetooth に引き継ぐ let bluetoothIdentifier = pickedAccessory.bluetoothIdentifier ... } }
in switch event.eventType { case .accessoryAdded: pickedAccessory = event.accessory case .pickerDidDismiss: // ペアリングした機器の識別子をCore Bluetooth に引き継ぐ let bluetoothIdentifier = pickedAccessory.bluetoothIdentifier ... } }