title: Looking for an equivalent for UIWebViewDelegate for porting an iOS app to OSX
body: <p>I'm trying to port an iOS App to OSX and there is one thing I don't get. The iOS app uses UIWebView, to be more precise a UIView the implements the UIWebViewDelegate:</p>
  
  <pre><code>@interface Dialog : UIView &lt;UIWebViewDelegate&gt; {
  </code></pre>
  
  <p>and implements those three delegate Methods:</p>
  
  <pre><code>- (BOOL)webView:(UIWebView *)webView shouldStartLoadWithRequest:(NSURLRequest *)request
  
    navigationType:(UIWebViewNavigationType)navigationType {
  
  - (void)webViewDidFinishLoad:(UIWebView *)webView {
  
  - (void)webView:(UIWebView *)webView didFailLoadWithError:(NSError *)error {
  </code></pre>
  
  <p>Can someone give me a hint how I can port this to the normal OSX Framework? I know there is the WebView but it has 4 Delegates as far as I could figure it out and none of these has delegate Methods that sounds like those 3.</p>
  
  <p>Thank you</p>