• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
URLwithString: relativeToURL problems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Lucene from Cocoa
  • Next by Date: Re: newbie- my app
  • Previous by thread: Re: Lucene from Cocoa
  • Next by thread: WebKit and Flash
  • Index(es):
    • Date
    • Thread