Re: How to limit the file type when dragging?
Re: How to limit the file type when dragging?
- Subject: Re: How to limit the file type when dragging?
- From: Nick Zitzmann <email@hidden>
- Date: Wed, 13 May 2009 09:58:53 -0600
On May 13, 2009, at 12:59 AM, Bright wrote:
But how limit the file type to sound file only available when drag
and drop files into tableview?
You need to check for that in your validateDrop method, and return YES
if the desired file type is detected and NO otherwise.
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
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