detailed (formatted) information about the problem
I tried stringWithString, same problem.
some more detailed information :
OpenerUtil.h
Code:
@interface OpenerUtil {}
+(NSString*) getImagePath:(NSInteger)selectedImage;
@end
OpenerUtil.m
Code:
#import "OpenerUtil.h"
@implementation OpenerUtil
+(NSString*) getImagePath:(NSInteger)selectedImage{
return @"something";
}
@end
in MainView.h, I have :
And the call to the method looks like this :
Code:
NSString *test = [OpenerUtil getImagePath:0];
My Error looks like this :
Code:
2009-04-11 15:44:05.391 BeerOpener[581:20b] *** NSInvocation: warning: object 0x74e0 of class 'OpenerUtil' does not implement methodSignatureForSelector: -- trouble ahead
2009-04-11 15:44:05.399 BeerOpener[581:20b] *** NSInvocation: warning: object 0x74e0 of class 'OpenerUtil' does not implement doesNotRecognizeSelector: -- abort
If I move the getImagePath method to my MainView.m, it works.
What am I doing wrong here?
Thanks.