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

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>)

  • Prev by Date: Examples of NSTypesetter/NSLayoutManager subclasses?
  • Next by Date: Re: NSPasteboard
  • Previous by thread: NSPasteboard
  • Next by thread: Re: NSPasteboard
  • Index(es):
    • Date
    • Thread