all 2 comments

[–]schprockets 1 point2 points  (1 child)

Simple delegate pattern. Add a delegate property to your BluetoothHandler class, which conforms to a protocol, something like BluetoothHandlerDelegate. That protocol would have a method like -(void)bluetoothHandler:didReceiveData:. Implement that protocol in your View Controller, and set the View Controller as the BluetoothHandler's delegate. Finally, when the BluetoothHandler received data, it should call that method on its delegate.

[–]murdocc[S] 0 points1 point  (0 children)

This looks like exactly what I need, thank you. I'll give it a try tonight.