• 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: newbe view question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: newbe view question
      • From: Scott Thompson <email@hidden>
References: 
 >newbe view question (From: "ronald b. kopelman" <email@hidden>)

  • Prev by Date: Re: Framework linking errors
  • Next by Date: Re: newbe view question
  • Previous by thread: newbe view question
  • Next by thread: Re: newbe view question
  • Index(es):
    • Date
    • Thread