• 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 validateDrop Flips Values
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSOutlineView validateDrop Flips Values


  • Subject: Re: NSOutlineView validateDrop Flips Values
  • From: Seth Willits <email@hidden>
  • Date: Tue, 1 Feb 2005 09:59:32 -0800

On Jan 31, 2005, at 6:18 PM, Seth Willits wrote:

I'm attempting to add drag and drop support to an outline view in my app (proving to be more difficult than I thought it would be) and I came across a weird behavior. If I drag an item and hold it on top of an item in the list, the proposedItem parameter to validateDrop:proposedItem:proposedChildIndex: flips between an appropriate value and nil every other time the message is sent. This is without moving the mouse or anything. It simply changes on it's own and I'm not sure why.


I'm still not sure _why_ this was happening, but after seven more hours of trial and error I got the outline view accepting drops the way I want it to.



Seth Willits
------------------------------------------------------------------------ ---
President and Head Developer of Freak Software - http://www.freaksw.com
REALbasic Guru at ResExcellence - http://www.resexcellence.com/realbasic


"Only two things are infinite, the universe and human stupidity, and I'm
not sure about the former."
-- Albert Einstein
------------------------------------------------------------------------ ---


Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: Daemon with AppKit
  • Next by Date: Secondary Window Content
  • Previous by thread: RE: Re: NSFileManager and rename file
  • Next by thread: Secondary Window Content
  • Index(es):
    • Date
    • Thread