What is wrong with this code?
Posted
by Horatiu Paraschiv
on Stack Overflow
See other posts from Stack Overflow
or by Horatiu Paraschiv
Published on 2010-06-10T23:27:13Z
Indexed on
2010/06/10
23:32 UTC
Read the original article
Hit count: 255
@protocol MyViewDelegate <NSObject>
- (void) didFinishProcessing:(MyView*)myView; //compiler stops here with error
@end
@interface MyView : MySuperclass {
id<MyViewDelegate> _delegate;
}
@property (nonatomic, retain) id<MyViewDelegate> delegate;
@end
When I try to compile I get " expected ')' before MyView ". Where is the error?
© Stack Overflow or respective owner