• 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: Launching a URL
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Launching a URL


  • Subject: Re: Launching a URL
  • From: Michael Peirce <email@hidden>
  • Date: Sat, 9 Feb 2002 00:00:43 -0500

On Friday, February 8, 2002, at 11:39 PM, John H Moody wrote:

So how can my app do this? Can I simply pass the NSURL as an argument on to
some NSOperatingSystem object that I haven't yet learned about as if I were
passing a notification to an [NSNotificationCenter defaultCenter], or is it
time for me to start learning about NSTasks and NSThreads and all those
other fun topics I've yet to get around to studying?

Click on that "Classes" tab in PB. Scroll it down to NSWorkspace and click on the little book icon.

You'll see:

openURL:

- (BOOL)openURL:(NSURL *)url

Opens the location specified by url; returns YES if the location was successfully opened, NO otherwise.


You need to start reading through some of the documents there...

--
Michael Peirce
6497 Spinnaker Drive
Lewis Center OH 43035
740-657-1269
email@hidden
_______________________________________________
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.

References: 
 >Launching a URL (From: John H Moody <email@hidden>)

  • Prev by Date: Re: Launching a URL
  • Next by Date: Re: NSButtonCell subclass (partially transparent images)
  • Previous by thread: Re: Launching a URL
  • Next by thread: Re: [quite OT] portability of NS-framework
  • Index(es):
    • Date
    • Thread