• 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: Drag and Drop from Finder to Source List
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Drag and Drop from Finder to Source List


  • Subject: Re: Drag and Drop from Finder to Source List
  • From: "I. Savant" <email@hidden>
  • Date: Thu, 10 Jan 2008 12:50:17 -0500

> I've already got NSTreeController working with NSOutlibeView and
> binding in a non-Core Data app but now I need some advice on how to
> one allow certain file type drops.

  NSWorkspace has a method called -typeOfFile:error: ... this will
attempt to give you the Uniform Type Identifier of a given file or an
error explaining why it couldn't. That's better than going by
extension, I'd imagine, though it doesn't seem perfectly robust
itself.

--
I.S.
_______________________________________________

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: 
 >Drag and Drop from Finder to Source List (From: Jonathan Dann <email@hidden>)

  • Prev by Date: Re: Setting spell-checker underlines
  • Next by Date: Re: EXC_BAD_ACCESS when trying to use [NSMutableURLRequest setHTTPBodyStream]
  • Previous by thread: Drag and Drop from Finder to Source List
  • Next by thread: CocoaHeads-NYC meeting tonight
  • Index(es):
    • Date
    • Thread