• 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
opening a document via Finder without NSDocument
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

opening a document via Finder without NSDocument


  • Subject: opening a document via Finder without NSDocument
  • From: Philip White <email@hidden>
  • Date: Mon, 16 Nov 2009 13:15:27 -0600

Hello,
Could someone point me to some examples showing how to respond to open document events without using NSDocumentController? I think I've figured out that I need to register to receive those events with NSAppleEventManager but I'm having trouble figuring out exactly how to do this.
The Apple docs say to look at the TextEdit project for an example of a document based application that does not use the NSDocument architecture, but the version of TextEdit that ships with more recent XCodes does use NSDocument. Downloading an old version of XCode just to get that example would be an ordeal on my satellite connection.


Thanks!
  Philip
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: opening a document via Finder without NSDocument
      • From: Nick Zitzmann <email@hidden>
  • Prev by Date: Re: NSUndoManager and runModalForWindow: (again)
  • Next by Date: Accessing FilesOwner fm controller
  • Previous by thread: Re: NSUndoManager and runModalForWindow: (again)
  • Next by thread: Re: opening a document via Finder without NSDocument
  • Index(es):
    • Date
    • Thread