• 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: launch safari to open an url
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: launch safari to open an url


  • Subject: Re: launch safari to open an url
  • From: Ondra Cada <email@hidden>
  • Date: Sun, 15 May 2005 19:15:47 +0200

Hernan,

On 15.5.2005, at 18:59, Hernan Ochoa wrote:

it's HerNan! not Herman! :) hihihi :).

Oh, sorry :)

Thanks a lot for your answer. I tested your example and it worked great.
I was trying to do the same but from a projet created through XCode,
and it wasn't working.
Now with your working example, I'll try to find out what's going on with XCode.

Should be all right--just set up the proper frameworks (unless you explicitly need other ones, Cocoa by itself is sufficient), nothing other should be needed.


Why is the [NSAutoreleasePool new]; call needed?

Nearly all Cocoa classes presume an autorelease pool is available. Using the standard run loop, you get one for free; in tools (and in extra threads) you have to create one yourself.


Thanks again!!

You are welcome :) --- Ondra Čada OCSoftware: email@hidden http://www.ocs.cz private email@hidden http://www.ocs.cz/oc


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >launch safari to open an url (From: Hernan Ochoa <email@hidden>)
 >Re: launch safari to open an url (From: Ondra Cada <email@hidden>)
 >Re: launch safari to open an url (From: Hernan Ochoa <email@hidden>)

  • Prev by Date: Re: adding NSView from other application
  • Next by Date: 2nd try : Help on error : Unknown class `XXXX' in nib file, using `NSObject' instead
  • Previous by thread: Re: launch safari to open an url
  • Next by thread: re: launch safari to open an url
  • Index(es):
    • Date
    • Thread