• 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
Getting filenames of NSImage(s)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Getting filenames of NSImage(s)


  • Subject: Getting filenames of NSImage(s)
  • From: Geoffrey Lessel <email@hidden>
  • Date: Mon, 24 Feb 2003 12:47:23 -0600

Hi all --

I'm trying to find a good way to capture the filename of an image dropped into an NSImageView box. I've poured through documentation for NSImage and NSImageView trying to find a good way to do this with no success. At first, I thought this would work:

NSString *temp;
temp = [[imageBox image] name];

But realized that I have to SET the name before I can get it. Any ideas?

Thanks for your help.
-geoffrey
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Getting filenames of NSImage(s)
      • From: John Timmer <email@hidden>
  • Prev by Date: (no subject)
  • Next by Date: Re: Subclassing NSLayoutManager
  • Previous by thread: Re: [Newbie] NSOutlineView and setFont: ?
  • Next by thread: Re: Getting filenames of NSImage(s)
  • Index(es):
    • Date
    • Thread