Re: Checking if framework exists
Re: Checking if framework exists
- Subject: Re: Checking if framework exists
- From: Finlay Dobbie <email@hidden>
- Date: Fri, 9 Sep 2005 14:10:57 +0100
On 06/09/05, Sanri Parov <email@hidden> wrote:
> I'm writing an app which requires MusicKit 5.5 to be installed. As far
> as I'm not able to make it embedable, I need a routine to check wether
> its frameworks are present on /System/Library/Frameworks; otherwise the
> app quits.
> How do I implement this ? an where (in awakeFromNib: or init:) ?
MusicKit will never be in /System/Library/Frameworks. /System is for
system-installed components only, and is therefore reserved for
Apple's use. You should NEVER install anything into it without VERY
good reason.
You can implement this wherever you need to. Where you need to is
largely dependent on your application.
If you want a Cocoa-way to find all the Frameworks directories you
should be searching, look at the NSSearchPathForDirectoriesInDomains
function in Foundation.
-- Finlay
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden