Re: Validating Image File Drag and Drops
Re: Validating Image File Drag and Drops
- Subject: Re: Validating Image File Drag and Drops
- From: glenn andreas <email@hidden>
- Date: Tue, 10 Apr 2007 21:45:39 -0500
On Apr 10, 2007, at 8:58 PM, Colin Cornaby wrote:
I have a table view and I want to allow users to drag image files
into the table. Someone suggested that I could use UTI's to
validate that the file dragged onto my table view is an image file.
It might be easier to just take the drag pasteboard and just ask
NSImage if it will be able to handle it by calling [NSImage
canInitWithPasteboard: pasteboard]
Glenn Andreas email@hidden
<http://www.gandreas.com/> wicked fun!
quadrium2 | build, mutate, evolve, animate | images, textures,
fractals, art
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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