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

Re: NSImage initWithPasteboard:


  • Subject: Re: NSImage initWithPasteboard:
  • From: Marc Lohse <email@hidden>
  • Date: Mon, 14 Jan 2008 08:01:47 +0100

(also noob question:)
If the pasteboard contains the filename and URL shouldn't it
be possible to use -initWithContentsOfFile: or -initWithContentsOfURL:
to initialize your image?

marc

John Dalbec schrieb:
N00b question:
If I copy or drag an image file from the (Mac OS X 10.4.11) Finder,
the Finder puts the filename and URL and icon on the pasteboard.  If
I use initWithPasteboard in my application, it uses the icon instead
of loading the contents of the file.  What's the best way to work
around this?
Thanks,
John
_______________________________________________

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


--
---------------------------------------------------
Dr. Marc Lohse
Max-Planck-Institute of molecular Plant Physiology
Dept. Bock
Am Muehlenberg 1
14476 Potsdam-Golm

Tel.    : 0331-5678-313
e-mail  : email@hidden
---------------------------------------------------

_______________________________________________

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


References: 
 >NSImage initWithPasteboard: (From: John Dalbec <email@hidden>)

  • Prev by Date: Client Certificate for SSL
  • Next by Date: Re: Dynamically validating undo menu item availability (NSUndoManager)
  • Previous by thread: NSImage initWithPasteboard:
  • Next by thread: Re: NSImage initWithPasteboard:
  • Index(es):
    • Date
    • Thread