Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

masonmey

macrumors newbie
Jul 15, 2008
8
0
I am not sure which part you are having trouble with but here is some code to open a URL.

[[NSWorkspace sharedWorkspace] openURL:[NSURL URLWithString:mad:"http://www.apple.com"]];

If you need help setting up the event on the button, I would check out this http://cocoadevcentral.com/d/learn_cocoa/. Good luck.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.