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

Re: NSOutlineView Drag and Drop


  • Subject: Re: NSOutlineView Drag and Drop
  • From: Seth Willits <email@hidden>
  • Date: Tue, 14 Sep 2010 20:20:24 -0700

On Sep 14, 2010, at 7:36 PM, email@hidden wrote:

> Other than
>
> - (NSDragOperation)outlineView:(NSOutlineView *)outlineView validateDrop:(id <NSDraggingInfo>)info proposedItem:(id)item proposedChildIndex:(int)index
>
> and
>
> - (BOOL)outlineView:(NSOutlineView *)outlineView acceptDrop:(id <NSDraggingInfo>)info item:(id)item childIndex:(int)index
>
> what do i need to implement so I can drag item within an NSOutline View?


That's the drop methods. You also need to implement the drag methods. There's another protocol for that. Also, you need to use the NSView method to register for dragged types.


--
Seth Willits



_______________________________________________

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 Drag and Drop
      • From: Chris Williams <email@hidden>
References: 
 >NSOutlineView Drag and Drop (From: email@hidden)

  • Prev by Date: NSOutlineView Drag and Drop
  • Next by Date: Re: Core Data Migration : Splitting an Entity : Source Fetch ?
  • Previous by thread: NSOutlineView Drag and Drop
  • Next by thread: Re: NSOutlineView Drag and Drop
  • Index(es):
    • Date
    • Thread