On Oct 26, 2011, at 8:20 PM, GW Rodriguez headtech...@yahoo.com wrote:
if([[[info draggingPasteboard] types] containsObject:NSURLPboardType] ) {
NSString *availableType = [[info draggingPasteboard]
availableTypeFromArray:firstType];
NSString *fileType;
NSURL
On Oct 26, 2011, at 10:20 PM, GW Rodriguez wrote:
I am trying to limit files with certain UTI's from dropping into a table
view. Here's my code so far:
// in the init method I set the registerForDraggedTypes with NSURLPboardType
-(NSDragOperation) tableView: (NSTableView*)tv
I am trying to limit files with certain UTI's from dropping into a table view.
Here's my code so far:
// in the init method I set the registerForDraggedTypes with NSURLPboardType
-(NSDragOperation) tableView: (NSTableView*)tv
validateDrop: (id NSDraggingInfo)info