• 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: Open URL when click Button
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Open URL when click Button


  • Subject: Re: Open URL when click Button
  • From: Just van Rossum <email@hidden>
  • Date: Thu, 10 Apr 2003 10:34:08 +0200

Chad Eckles wrote:

> How can I open a URL to a website when a button is pressed ?

One way is

[[NSWorkspace sharedWorkspace] openURL: anURL];

Just
_______________________________________________
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: 
 >Open URL when click Button (From: Chad Eckles <email@hidden>)

  • Prev by Date: Open URL when click Button
  • Next by Date: Re: Subclassing NSTextField or...?
  • Previous by thread: Open URL when click Button
  • Next by thread: Re: Open URL when click Button
  • Index(es):
    • Date
    • Thread