On Jun 23, 2010, at 6:38 PM, Angelo Chen wrote:
> Thanks for the fast reply, this works very well, now I'd like to check if
> certain plugin for Quicktime got installed too, is there a similar service? i
> tried following and it returns nil:
> NSURL * bURL = [[NSWorkspace sharedWorkspace]
> UR
ifier:@"com.apple.AppleIntermediateCodec"];
Thanks.
--- 2010年6月24日 星期四,Stephen J. Butler 寫道﹕
寄件人: Stephen J. Butler
主題: Re: checking if an app installed
收件人: "Angelo Chen"
副本(CC): Cocoa-dev@lists.apple.com
日期: 2010年6月24日,星期四,上午8:55
On Wed, Jun 23, 2010 at 7:48 PM, Angelo Chen wrote:
> Hi,
On Wed, Jun 23, 2010 at 7:48 PM, Angelo Chen wrote:
> Hi,
> Is there a way to check if a certain application is installed? say if iMovie
> is installed? thanks,
Three ways:
-[NSWorkspace absolutePathForAppBundleWithIdentifier:] (10.3)
-[NSWorkspace fullPathForApplication:] (10.0)
-[NSWorkspace