Hi everyone,
I'm in the midst of making my first iPhone app, for a university project.
First a bit of info:
I've got a program spread across multiple files, each file contributing a "module" to the final project, one such is called bluetoothModule
I have calls to the code in bluetoothModule from the view controller:
When I try and compile the code, I recieve the error:
"Expected ':' before '.' token (2)
I've already imported the header file bluetoothModule.h at the top of the file so I don't see why its not recognising it. One thing worth noting though, when all the code is in the viewcontroller file. It all runs fine.
Hope someone can help this is giving a massive headache.
Thanks!
I'm in the midst of making my first iPhone app, for a university project.
First a bit of info:
I've got a program spread across multiple files, each file contributing a "module" to the final project, one such is called bluetoothModule
I have calls to the code in bluetoothModule from the view controller:
Code:
[bluetoothModule.connect = setHidden:NO];
[bluetoothModule.disconnect = setHidden:YES];
When I try and compile the code, I recieve the error:
"Expected ':' before '.' token (2)
I've already imported the header file bluetoothModule.h at the top of the file so I don't see why its not recognising it. One thing worth noting though, when all the code is in the viewcontroller file. It all runs fine.
Hope someone can help this is giving a massive headache.
Thanks!