Re: Dragging files and folders into NSView subclasses
Re: Dragging files and folders into NSView subclasses
- Subject: Re: Dragging files and folders into NSView subclasses
- From: Michael Watson <email@hidden>
- Date: Fri, 20 Oct 2006 18:49:29 -0400
I *think* I have.
In my NSView subclass:
- (id)initWithFrame:(NSRect)frame
{
// init stuff snipped
[self registerForDraggedTypes:[NSArray
arrayWithObject:NSFilenamesPboardType]];
return self;
}
--
m
On 20 Oct, 2006, at 18:46, Nick Zitzmann wrote:
On Oct 20, 2006, at 4:43 PM, Michael Watson wrote:
I can't even get any of the dragging methods to trigger so I can
NSLog() checkpoints to find my way around.
Does anyone have suggestions for how to approach this?
Did you register for the proper drag type(s) first?
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
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