• 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: open folders as documents
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: open folders as documents


  • Subject: Re: open folders as documents
  • From: "Kyle Sluder" <email@hidden>
  • Date: Tue, 13 Jan 2009 05:11:01 -0500

On Tue, Jan 13, 2009 at 4:54 AM, Georg Seifert <email@hidden> wrote:
> I want to be able to select folders (with a certain extension, but no
> registered file type) in the open dialog of a NSDocument app.

Did you look at the documentation?  -[NSOpenPanel
setCanChooseDirectories] looks like it would be a very logical place
to start.  And then the -panel:shouldShowFilename: NSSavePanel
delegate method would make a whole lot of sense, since it's mentioned
in the "Filtering Out Browser Items" section of the "Application File
Management" document...

http://developer.apple.com/DOCUMENTATION/Cocoa/Conceptual/AppFileMgmt/Articles/FilteringOutBrowserItems.html

--Kyle Sluder
_______________________________________________

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

References: 
 >open folders as documents (From: Georg Seifert <email@hidden>)

  • Prev by Date: File association
  • Next by Date: Meeting CocoaHeads Amsterdam Jan-14.
  • Previous by thread: open folders as documents
  • Next by thread: Re: open folders as documents
  • Index(es):
    • Date
    • Thread