1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#import <Cocoa/Cocoa.h> #import <WebKit/WebKit.h> @class WebViewDelegate; @interface ContentView : NSView { IBOutlet WebView* webView; WebViewDelegate* delegate; } @property (retain) WebView* webView; @property (retain) WebViewDelegate* delegate; @property (strong) IBOutlet NSMenu *mainMenu; @end