What and where would i put into
to make it automatically insert the 'http://' infort of the url if it isn't already there.
BTW: this is what happens to my url text field when enter is pressed.
Code:
- (IBAction)connectURL:(id)sender{
[urlString setStringValue:[sender stringValue]];
[[webView mainFrame] loadRequest:
[NSURLRequest requestWithURL:
[NSURL URLWithString:
[sender stringValue]]]];
}
to make it automatically insert the 'http://' infort of the url if it isn't already there.
BTW: this is what happens to my url text field when enter is pressed.