Re: NSOutlineView Drop
Re: NSOutlineView Drop
- Subject: Re: NSOutlineView Drop
- From: apparao <email@hidden>
- Date: Thu, 30 Aug 2007 14:43:30 +0530
Did you register the OutlineView by using - (void)
registerForDraggedTypes:(NSArray *)pboardTypes method?
On 30-Aug-07, at 2:05 PM, sheen mac wrote:
Hi All,
I made a custom class of NSOutlineView for displaying file list.
I am getting problem in dropping files.
This method is called
- (NSDragOperation)outlineView:(NSOutlineView *)outlineView
validateDrop:(id <NSDraggingInfo>)info proposedItem:(id)item
proposedChildIndex:(int)index.
and I returned NSDragOperationGeneric.
But I didn't get call to this method
- (BOOL)outlineView:(NSOutlineView *)outlineView acceptDrop:(id
<NSDraggingInfo>)info item:(id)item childIndex:(int)index
I set data source and delegate at the Nib loading.
Kindly help me.
Thanks In Advance,
Sheen
---------------------------------
Choose the right car based on your needs. Check out Yahoo! Autos
new Car Finder tool.
_______________________________________________
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:
40effigent.net
This email sent to email@hidden
_______________________________________________
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