Reputation: 359
I am getting the error for using the NSImage in this function in my appcontroller like expected ')' before NSImage.
- (void)imageReceived:(NSImage *)image forRequest:(NSString *)identifier
{
NSString *path = [[NSString stringWithFormat:@"~/Desktop/%@.tiff", identifier]
stringByExpandingTildeInPath];
[[image TIFFRepresentation] writeToFile:path atomically:NO];
}
i have check my program i got no syntax error but still i have this error in my app. i have taken the code from mgtwitterengine and using it for iphone in my app as given in its read me file.
Upvotes: 0
Views: 285