Cocoa - calling method with multiple arguments -
I'm beginning to Coco and I have questions about the method call with multiple arguments. I'm writing some data in bluetooth (in the sync method) and wait for the answer On another method, I am trying to check that new data was received in buffer but I do not know how I can call this method. I tried many different ways and I could not: - (minus) odczyt: ( Try to call me that this method (IOBluetoothRFCOMMChannel *) rfcommChannel data: (void *) dataPointer length: (size_t) dataLength {unsigned char * dataAsBytes = (unsigned char *) dataPointer, while (dataLength--) {[self addThisByteToTheLogs: * dataAsBytes]; dataAsBytes ++;}} How can I? This method is responsible for reading the string sent and writing it again to label it. This method is pressed when the button is pressed. (And referred to BT request for data) I'm not without calling able to read the data coming this method should call - labeled empty and buttons work after advancing (when Method And the main t...