views:

30

answers:

1
#import <WebKit/WebKit.h>

@interface MyClass : NSObject <WebFrameLoadDelegate> {
WebView *webView;
}

cannot find protocol declaration for 'WebFrameLoadDelegate'

+1  A: 

WebFrameLoadDelegate is a informal protocol - it is declared as a category of NSObject. To use it you need to declare required methods in class interface and implement them.

When used to declare a protocol, a category interface doesn’t have a corresponding implementation. Instead, classes that implement the protocol declare the methods again in their own interface files and define them along with other methods in their implementation files.

Vladimir