• 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: Retrieving URL from NSImage
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Retrieving URL from NSImage


  • Subject: Re: Retrieving URL from NSImage
  • From: Scott Stevenson <email@hidden>
  • Date: Mon, 9 Apr 2007 23:54:01 -0700


On Apr 9, 2007, at 8:33 AM, Jim Turner wrote:

Is there a way to retrieve the URL an NSImage refers to when created with
initByReferencingURL:?


The docs say that when an NSImage is archived, only the URL is saved, so
there has to be a way to retrieve what it is. I just hope it's a public
interface.


Or does it make more sense to ask the question: When NSImage is sent a
setDataRetained:, where's that data being saved and can I retrieve it?

I don't think you can get at this stuff through the public NSImage interface.


Can you describe what you're trying to do in a big picture sense? There are a lot of image classes available in Mac OS X, and it's possible something other than NSImage might fit better.

    - Scott
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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: Retrieving URL from NSImage
      • From: Jim Turner <email@hidden>
References: 
 >Retrieving URL from NSImage (From: Jim Turner <email@hidden>)

  • Prev by Date: Re: primary/secondary selection pattern for NSArrayController?
  • Next by Date: NSTextField caret position
  • Previous by thread: Retrieving URL from NSImage
  • Next by thread: Re: Retrieving URL from NSImage
  • Index(es):
    • Date
    • Thread