I'm trying to make a web browser, and I'm stuck, how can I make it so that even if the user jjust types in http://www.msn.com it takes them to http://www.msn.com/ I can't get it to work, here's my code for connectURL: as apple has it on their site:
Help would be greatly appreciated
Code:
- (IBAction)connectURL:(id)sender{
[[webView mainFrame] loadRequest:
[NSURLRequest requestWithURL:
[NSURL URLWithString:
[sender stringValue]]]];
}