NSPasteboard
NSPasteboard
- Subject: NSPasteboard
- From: David Blanton <email@hidden>
- Date: Mon, 02 Jun 2003 22:18:34 -0600
The following code SIGBUSes
copied = [thePasteboard setData: oddToggleData forType:NSTIFFPboardType];
Where
oddToggleData = [NSData dataWithContentsOfFile: tiffPath ];
tiffPath = [mainBundle pathForResource:oddToggleImage ofType:@"tif"]];
I have gotten a general pasteboard and declared its types as
NSTIFFPboarbType and NSStringPboardType.
I am able to copy strings with no problem as
copied = [thePasteboard setString:oddToggleImage
forType:NSStringPboardType];
Any help is appreciated!
_______________________________________________
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.