|
|
Opening website from Objective-C
|
|
|
|
Professional Poster
Join Date: Sep 2000
Location: Texas
Status:
Offline
|
|
Anyone know a quick way to open a website in the default browser from Objective-C?
|
|
|
|
|
|
|
|
|
Addicted to MacNN
Join Date: Nov 2002
Location: Rockville, MD
Status:
Offline
|
|
|
|
|
|
|
|
|
|
|
Junior Member
Join Date: Jun 2002
Location: Springfield
Status:
Offline
|
|
off the top of my head...
[[NSWorkspace sharedWorkspace] openURL:[NSURL URLWithString:@"http://www.fark.com"]];
edit: damn! Uncle Skeleton beat me to it
|
|
|
|
|
|
|
|
|
Professional Poster
Join Date: Sep 2000
Location: Texas
Status:
Offline
|
|
Hmm... Sorry, I dont know why I even bothered to ask the question! I was looking through the NSWorkspace stuff as I posted that... Must use brain... Thanks!
|
|
|
|
|
|
|
|
|
Junior Member
Join Date: Sep 2003
Location: Nowhere, Missouri
Status:
Offline
|
|
Hey, no worries. We all have "brain farts" like that. I personally will spend hours looking for a certain function, only to find I've used it several times already.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Forum Rules
|
|
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
|
|
|
|
|
|