• 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: file browsing?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: file browsing?


  • Subject: Re: file browsing?
  • From: "M. Uli Kusterer" <email@hidden>
  • Date: Wed, 28 Apr 2004 10:14:32 +0200

At 11:07 Uhr -0700 26.04.2004, David Piasecki wrote:
NSFileManager seems to offer quite a bit of control, but is there any file browsing object currently available that I can just drop into my application where I can grab some user-selected path?

You might also want to support drag and drop. There are some protocols for NSView subclasses for doing that. It's much more convenient for your users to be able to drop files onto a view in your app, as they can locate it in the Finder or drag an open file's proxy icon over instead of having to navigate to it again using NSOpenPanel.

I'm working on a "file path display" control not unlike what Sherlock uses to display the path of a found file, but it's not yet ready for prime-time. However, if you accept drops of NSFilenamesPboardType on a custom view that simply shows the display name and icon of a file (both can be determined easily using methods in NSFileManager and NSWorkspace), you'd have a nice way for the user to specify a file.
--
Cheers,
M. Uli Kusterer
------------------------------------------------------------
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: file browsing?
      • From: j o a r <email@hidden>
References: 
 >file browsing? (From: "David Piasecki" <email@hidden>)
 >Re: file browsing? (From: Nick Zitzmann <email@hidden>)
 >Re: file browsing? (From: "David Piasecki" <email@hidden>)

  • Prev by Date: RE: Problems with Xcode 1.2 - SetFile
  • Next by Date: Re: file browsing?
  • Previous by thread: Re: file browsing?
  • Next by thread: Re: file browsing?
  • Index(es):
    • Date
    • Thread