Re: NSPasteboard
Re: NSPasteboard
- Subject: Re: NSPasteboard
- From: j o a r <email@hidden>
- Date: Tue, 3 Jun 2003 08:05:57 +0200
Show more code, it's a bit tricky to see what's going on from what
you've provided - especially since you seem to list things in reverse
order. Have you verified that "oddToggleData" is non-nil?
j o a r
On Tuesday, Jun 3, 2003, at 06:18 Europe/Stockholm, David Blanton wrote:
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];
_______________________________________________
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.
References: | |
| >NSPasteboard (From: David Blanton <email@hidden>) |