>> It was public, it is still provided, and it does return YES.  In other 
>> words, if you use current versions of the framework, it returns what you'd 
>> expect.
>> 
>> If you are using an older version of the framework and never upgrade, the 
>> framework itself was coded to look for whether the prefpane existed on disk 
>> and return that as the result; the convenience method in older frameworks is 
>> basically just a 'does this file exist in this location' check.  As Growl is 
>> no longer in the same place on disk that it once was, that implementation in 
>> older frameworks returns NO.
> 
> Not being a Mac developer and thus never written code to use Growl I
> wonder why this old framework couldn't have been overwritten by an
> updated framework that provides the new is GrowlInstalled method.  I'm
> assuming the framework is provided by a dynamically linked library and
> not statically linked by the app.

The framework is generally bundled into the app by most developers; if you were 
to pop open an application bundle and go into 'Contents/Frameworks' you'd find 
a 'Growl.framework' rolled into the app itself.

Now it is, in fact, possible to write a program which can go in and pop out the 
bundled framework, replacing it with a new one.  Such a program actually 
already exists: it's called GrowlVersionDetective, and it's available from the 
downloads page at http://growl.info/downloads -- when run, it will find the 
various programs on your hard drive that have versions of Growl bundled, and 
can replace the framework with a more recent version.

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

Reply via email to