• 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
Confused by Apple's DragNDropOutlineView example
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Confused by Apple's DragNDropOutlineView example


  • Subject: Confused by Apple's DragNDropOutlineView example
  • From: "Theodore H. Smith" <email@hidden>
  • Date: Tue, 21 Jun 2005 18:50:53 +0100



The ReadMe.rtf file within Apple's DragNDropOutlineView says that it calls
draggingSourceOperationMaskForLocal. However I cannot find the string draggingSourceOperationMaskForLocal anywhere within the project! So how is it doing what it's doing?


"MyOutlineView overrides the method draggingSourceOperationMaskForLocal: to allow our drags initiated from our outline view to have destinations outside of our application." Only thing is, it doesn't. MyOutlineView does not mention draggingSourceOperationMaskForLocal anywhere.

Doesn't that make it a bug in the documentation?

I look at the DragNDropOutlineView example code, and it seems to be doing things in a totally different way than Aaron Hillegas's book, Apple's documentation on drag and drop, are telling us to do.

It's a good demo that does just what I need. Only problem is that the documentation only serves to confuse, which in some ways is worse than no documentation.

--
http://elfdata.com/plugin/ Industrial strength string processing, made easy.


"All things are logical. Putting free-will in the slot for premises in
a logical system, makes all of life both understandable, and free."

_______________________________________________
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


  • Follow-Ups:
    • Re: Confused by Apple's DragNDropOutlineView example
      • From: derek c <email@hidden>
  • Prev by Date: How to set a default row in NSTableView?
  • Next by Date: Re: Loading an RSS (feed://) URL
  • Previous by thread: Re: How to set a default row in NSTableView?
  • Next by thread: Re: Confused by Apple's DragNDropOutlineView example
  • Index(es):
    • Date
    • Thread