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?
view_w.h
@interface view_w : NSObject {
IBOutlet WebView* Web;
}
-(IBAction) google:(id) sender;
@end
view_w.m
-(IBAction) google:(id) sender
{
NSURL *url = [NSURL URLWithString:@"http://www.google.com/"];
NSURLRequest *request = [NSURLRequest requestWithURL:url];
[Web loadrequest:request];
}
// error No -loadrequest: method found