I\'m developing an iphone app and I need to have some functions to use globally in my classes.
But how can I do this?
I just tried to create functions.
functions.
What your error is referring to is you need to have that method in an interface.
@interface SomeClass - (void)printTest; @end
To use a static void throughout your app (where you have included your Functions.h), try the following:
void printTest () { /* do your print stuff */ }