Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Open Handler, when is it called?



Ian McFarland <email@hidden> wrote:

> Another thing to consider: how will your application work when not
> (*gasp*) running under OS X. (I usually just have conditional code based
> on os.name, or somesuch, myself.)

My code works fine on all platforms, thanks to the calls to
MRJApplicationUtils.isMRJToolkitAvailable(). But one thing I didn't share
with the list is that my code also handles opening files on other platforms.
It works on Windows at least, where I can drag and drop files on the
application and I can double-click files to open them. I haven't shared this
implementation with the list as this code doesn't belong to me.

Steve

--
Steve Roy <email@hidden>




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.