KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
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.h likes this #include <Foundation/Foundation.h> - (void)printTest; and in the functions.m #import "functions.h" - (void)prinTest { NSLog(@"test"); } but it doesn't work. Says me: "Method definition not in a @implementation context".
Tags (comma-separated)
Save Edits
Cancel