• 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
NSImageView/NSImage question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSImageView/NSImage question


  • Subject: NSImageView/NSImage question
  • From: Marco S Hyman <email@hidden>
  • Date: Sun, 28 Jun 2009 00:36:56 -0700

I'd like to get the path of the file containing the data used to
create an NSImage when that images is dragged onto an NSImageView.
I think I stated that correctly.  Is it possible?   If so a pointer
to the appropriate doc would be appreciated.

Looking through the doc it seems that an image will retain its
path with -setDataRetained if initialized using –initByReferencingFile:
but even then I see no way to get the path.


/\/\arc

_______________________________________________

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: NSImageView/NSImage question
      • From: Graham Cox <email@hidden>
References: 
 >Re: I want my app to crash! (From: Andreas Grosam <email@hidden>)
 >Re: I want my app to crash! (From: M Pulis <email@hidden>)
 >Re: I want my app to crash! (From: Andy Lee <email@hidden>)

  • Prev by Date: NSTableView -setDataCell confusion
  • Next by Date: Re: [bulk]: Re: GC pros and cons
  • Previous by thread: Re: I want my app to crash!
  • Next by thread: Re: NSImageView/NSImage question
  • Index(es):
    • Date
    • Thread