i am using openURL for my iphone apps, works perfectly, but now i want to use it on mac, normally, i use this code
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"http://google.com"]];
and it works perfectly in Xcode for iPhone app, but when doing a mac app, it gets me this error:
"UIApplication" undeclared (first use in this function)
So help anyone?