Re: Confused by Apple's DragNDropOutlineView example
Re: Confused by Apple's DragNDropOutlineView example
- Subject: Re: Confused by Apple's DragNDropOutlineView example
- From: derek c <email@hidden>
- Date: Tue, 21 Jun 2005 19:29:04 -0700
They're implementing:
- (void)setDraggingSourceOperationMask:(unsigned int)mask
forLocal:(BOOL)isLocal;
in the AppController instead, which is new in Tiger.
Check out the release notes:
http://developer.apple.com/releasenotes/Cocoa/AppKit.html
dc.
On Jun 21, 2005, at 10:50 AM, Theodore H. Smith wrote:
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
_______________________________________________
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