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

NSImage initWithPasteboard


  • Subject: NSImage initWithPasteboard
  • From: Eugene Rudenko <email@hidden>
  • Date: Thu, 15 Sep 2011 13:57:25 +0400

Hello!

I have a JNI method to get image from clipboard. After 5-6 calls a method, I
have a hanging method. It hanging at call initWithPasteboard.
Although the method canInitWithPasteboard returns true.

Objective C method:
-
NSPasteboard *myPasteboard = [NSPasteboard generalPasteboard];
NSImage *image = [[[NSImage alloc] initWithPasteboard:myPasteboard ]
autorelease];
-

Who can say why this might happen?

Eugene.
_______________________________________________

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: NSImage initWithPasteboard
      • From: Jens Alfke <email@hidden>
  • Prev by Date: Re: No longer use NSLog() in Xcode 4?
  • Next by Date: question about identifying old apps
  • Previous by thread: Re: No longer use NSLog() in Xcode 4?
  • Next by thread: Re: NSImage initWithPasteboard
  • Index(es):
    • Date
    • Thread