• 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
Re: Opening URLs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Opening URLs


  • Subject: Re: Opening URLs
  • From: Stéphane Sudre <email@hidden>
  • Date: Thu, 25 Oct 2001 15:21:04 +0200

On jeudi, octobre 25, 2001, at 09:57 , Richard Schreyer wrote:

Can someone point me to some documentation on how to open URLs in a cocoa application?

I've done some hunting around in the OmniWeb and Mail info.plist files, and saw the CFURL entries there, but I can't find any documentation on where to go from there.

To open it and view it in a Browser (or another software) ?

It's both NSURL and NSWorkspace in this case:

[[NSWorkspace sharedWorkspace] openURL:[NSURL URLWithString:url_]];


  • Follow-Ups:
    • Re: Opening URLs (Clarification)
      • From: Richard Schreyer <email@hidden>
References: 
 >Opening URLs (From: Richard Schreyer <email@hidden>)

  • Prev by Date: Images in a Table
  • Next by Date: Re: Hiding a view
  • Previous by thread: Re: Opening URLs
  • Next by thread: Re: Opening URLs (Clarification)
  • Index(es):
    • Date
    • Thread