this is the problem:
myObject.h
@interface myObject
- (void) Init;
- (void) doStuffs;
- (void) Final;
+ (NSData*) staticMethod: (NSString*) filePath
@end
myObject.m
@implementation myObject
- (void) Init {
...
}
- (void) doStuffs {
...
}
- (void) Final {
...
}
+ (NSData*) staticMethod: (NSString*) filePath {
myObject *objInstance;
[objInstance Init];
[objInstance doStuffs];
[objInstance Final];
}
@end
When calling Init, doStuffs and Final on the static method, the instance methods are not called; any idea?
For short: I need to call instance method from a static method of the same class...
Thank you for helping.
objInstanceisn't done.