I inherited another developer code, but didn't understood the following code (Notice the ';' in the of first line):
-(id) initWithTarget:(id)target AndAction:(void(*)(id target,id sender ,NSString* xml))action; {
self = [super init];
if (self) {
[self setTargetAction:action];
[self setActionDelegate:target];
}
return self; }
This code compiles fine without any warning \ error. Is it just looks to me, or this is a method declaration (which of course won't have any definition), and another block which couldn't be performed (without any method name) ???