• 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: How to make my application open file directly from Finder?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to make my application open file directly from Finder?


  • Subject: Re: How to make my application open file directly from Finder?
  • From: "I. Savant" <email@hidden>
  • Date: Tue, 17 Oct 2006 11:16:04 -0400

Raul:

If I understand you properly, you're describing a document-based application. If you've created an XCode project using the "Cocoa Application" template, then you're missing all the automatic machinery that allows you to handle documents.

If you create a new XCode project using the "Cocoa Document-based Application" template, the behavior you described is automatically handled for you. All you need to do is supply the Document Type information in your project and it "just works".

Give this *entire document* a thorough read: http:// developer.apple.com/documentation/Cocoa/Conceptual/Documents/index.html

  That should get you going.

--
I.S.


On Oct 17, 2006, at 11:01 AM, Raul wrote:

Hi ,

I see that some programs can open files directly fromfinder.

How to get the filename attribute when you open file from Finder?

Thanks.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40gmail.com


This email sent to email@hidden

_______________________________________________ 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
  • Follow-Ups:
    • Re: Re: How to make my application open file directly from Finder?
      • From: Raul <email@hidden>
References: 
 >How to make my application open file directly from Finder? (From: Raul <email@hidden>)

  • Prev by Date: Re: NSOutlineView Row Heights
  • Next by Date: Re: get iTunes songs
  • Previous by thread: How to make my application open file directly from Finder?
  • Next by thread: Re: Re: How to make my application open file directly from Finder?
  • Index(es):
    • Date
    • Thread