• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSOutlineView Drop
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >NSOutlineView Drop (From: sheen mac <email@hidden>)

  • Prev by Date: Re: interface to metadata list
  • Next by Date: Re: NSMutableString appendString: "appending self" allowed?
  • Previous by thread: NSOutlineView Drop
  • Next by thread: Making an initial change to document, and don't want the doc marked as changed
  • Index(es):
    • Date
    • Thread