• 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: theme files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: theme files


  • Subject: Re: theme files
  • From: Frederick Cheung <email@hidden>
  • Date: Wed, 5 Oct 2005 17:13:02 +0100

On 10/5/05, alex gordillo <email@hidden> wrote:
> I want to have an application that I am writing to be "theme-able".
> The theme files are NSBundles with images, etc.  The application
> recognizes them as its own and it launches when I double-click a
> theme bundle in the Finder.  My question is how do I make my
> application perform an action after a theme file has been double-
> clicked in the Finder?  Say I wanted that theme file copied into the
> main bundle and have it appear on a "Themes" menu on a double-click -
> whether the app is currently running or launched on the double-
> click.  Any help is greatly appreciated.
>

I believe you want to add a  application:openFile: method to your app's delegate

Fred
 _______________________________________________
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: 
 >theme files (From: alex gordillo <email@hidden>)

  • Prev by Date: Re: newbie interface problem
  • Next by Date: Re: OmniInspector framework overriding application name
  • Previous by thread: theme files
  • Next by thread: Delegating time to another process
  • Index(es):
    • Date
    • Thread