title: how can i use webview object in cocoa to display webpage?
body: <p>i want to display the web page in my program ,i use the WebView object in my IB (.xib) but it dosent work ,is there any sampel code ,not doc or article?</p>
  
  <p>view_w.h </p>
  
  <pre><code>     @interface view_w : NSObject {
      IBOutlet WebView* Web;
         }
     -(IBAction) google:(id) sender;
      @end 
  </code></pre>
  
  <p>view_w.m</p>
  
  <pre><code>  -(IBAction) google:(id) sender
  
  
    {
      NSURL *url = [NSURL URLWithString:@"http://www.google.com/"];
          NSURLRequest *request = [NSURLRequest requestWithURL:url];
         [Web loadrequest:request];
  
      }
  </code></pre>
  
  <p>// error No -loadrequest: method found</p>