• 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
How do I capture the filename of an image dropped in an NSImageView?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How do I capture the filename of an image dropped in an NSImageView?


  • Subject: How do I capture the filename of an image dropped in an NSImageView?
  • From: Charles Crowley <email@hidden>
  • Date: Wed, 17 Nov 2004 07:48:10 -0700


In my application I store the filename of an image rather than the image data itself. When a user drops an image on an NSImageView there does not seem to be an obvious way to get the filename of the image. Does anyone know how to do this?


It seems like there should be a delegate method something like:
- (BOOL) imageViewShouldAcceptDraggedFilenames: (NSArray *) filenames;

Thanks, Charlie Crowley

_______________________________________________
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: How do I capture the filename of an image dropped in an NSImageView?
      • From: Mark Lilback <email@hidden>
    • Re: How do I capture the filename of an image dropped in an NSImageView?
      • From: Nicko van Someren <email@hidden>
    • Re: How do I capture the filename of an image dropped in an NSImageView?
      • From: Thomas Davie <email@hidden>
  • Prev by Date: Swapping views and autoresizing ....
  • Next by Date: Re: How do I capture the filename of an image dropped in an NSImageView?
  • Previous by thread: Re: Swapping views and autoresizing ....
  • Next by thread: Re: How do I capture the filename of an image dropped in an NSImageView?
  • Index(es):
    • Date
    • Thread