Re: getResourceValue:forKey:error: Unrecognized Selector

2011-10-29 Thread Kyle Sluder
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

Re: getResourceValue:forKey:error: Unrecognized Selector

2011-10-29 Thread Ken Thomases
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

getResourceValue:forKey:error: Unrecognized Selector

2011-10-28 Thread GW Rodriguez
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