Re: newbe view question
Re: newbe view question
- Subject: Re: newbe view question
- From: Keary Suska <email@hidden>
- Date: Sun, 16 May 2010 08:34:57 -0600
On May 16, 2010, at 7:19 AM, ronald b. kopelman wrote:
> I am designing a small app that will accept a dropped folder, get its name & process it. Everything works fine. I can drop a folder on the dock icon or the app icon & get exactly what I want. I would like to drop the folder onto the app window while the app is running & get the same result but I can't figure out how to drop the folder onto the window. I had thought about subclassing the window's content view but, yuch, there must be a better way. I have perused the literature & if something is there I have missed it. Is there some way I can drop a folder onto a window or its content view & get the name of the folder? Please point me in the right direction.
NSWindow supports drag and drop, but AFAIK you will have to subclass to handle the drop. Pick your poison (subclass NSView for content view or subclass NSWindow)...
HTH,
Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"
_______________________________________________
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