• 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
NSOutlineView Drop
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSOutlineView Drop


  • Subject: NSOutlineView Drop
  • From: sheen mac <email@hidden>
  • Date: Thu, 30 Aug 2007 01:35:31 -0700 (PDT)

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:

This email sent to email@hidden

  • Follow-Ups:
    • Re: NSOutlineView Drop
      • From: apparao <email@hidden>
  • Prev by Date: Re: Different methods for setting the delegate?
  • Next by Date: Re: interface to metadata list
  • Previous by thread: Re: Different methods for setting the delegate?
  • Next by thread: Re: NSOutlineView Drop
  • Index(es):
    • Date
    • Thread