• 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: David Blanton <email@hidden>
  • Date: Tue, 03 Jun 2003 00:02:43 -0600

The problem was a retain issue. All is well.

[oddToggleData retain];



On 6/2/03 10:18 PM, "David Blanton" <email@hidden> 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];
>
>
> 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.
_______________________________________________
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: Re: NSPasteboard
  • Next by Date: Re: NSTextView and SimpleText files?
  • Previous by thread: Re: NSPasteboard
  • Next by thread: NSMenu & .. delegate ?
  • Index(es):
    • Date
    • Thread