NSImage initWithPasteboard
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