Re: open URL in default browser

2009-03-28 Thread Mike Abdullah
There's nothing wrong with using Launch Services still. Jut because it's a C API, doesn't mean it's Carbon and "bad." NSWorkspace is just an Obj-C wrapper round some of LaunchServices. On 27 Mar 2009, at 18:47, Nathaniel Cunningham wrote: Greetings, I'm new to Cocoa, and helping to port a c

open URL in default browser

2009-03-27 Thread Nathaniel Cunningham
Greetings, I'm new to Cocoa, and helping to port a carbon app to cocoa. In particular, I want to be able to open an arbitrary URL in the default internet browser, regardless of whether the URL refers to a local file that normally opens in some other app (e.g. a jpeg image that opens in Preview), o