• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Checking if framework exists
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Checking if framework exists (From: Sanri Parov <email@hidden>)

  • Prev by Date: Re: CGS differences from Panther to Tiger
  • Next by Date: Proper way of ending text field editing on Quit
  • Previous by thread: Re: Checking if framework exists
  • Next by thread: Re: Checking if framework exists
  • Index(es):
    • Date
    • Thread