URLwithString: relativeToURL problems
URLwithString: relativeToURL problems
- Subject: URLwithString: relativeToURL problems
- From: "george" <email@hidden>
- Date: Thu, 17 Jul 2003 11:02:30 +0000
Hi,
I am running this bit of code, but all that happens is that it open a browser window with a
blank address bar
NSURL *baseURL = [NSURL URLWithString:@"
http://php.net/"];
NSURL *url = [NSURL URLWithString:[URLField stringValue] relativeToURL:baseURL];
[[NSWorkspace sharedWorkspace] openURL:url];
TIA
--
George
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.