• 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: Enigmarelle Development <email@hidden>
  • Date: Fri, 8 Feb 2002 23:57:16 -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?

If you don't need to handle the URL yourself, you should be OK just using NSWorkspace's openURL method. Just pass your NSURL to it and it'll take care of the rest.

-john c. warner
enigmarelle development
http://www.enigmarelle.com/
_______________________________________________
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: Launching a URL
  • Previous by thread: Re: Launching a URL
  • Next by thread: Re: Launching a URL
  • Index(es):
    • Date
    • Thread