• 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: "Jonathan 'Wolf' Rentzsch" <email@hidden>
  • Date: Sun, 29 Feb 2004 13:11:02 -0600

Matthew Weinstein, email@hidden, wrote:
>a = [[NSPasteboard generalPasteboard] setString: nText forType:
>NSStringPboardType];

Try this:

[[NSPasteboard generalPasteboard] declareTypes:[NSArray
arrayWithObject:NSStringPboardType] owner:nil];
a = [[NSPasteboard generalPasteboard] setString: nText
forType:NSStringPboardType];

| Jonathan 'Wolf' Rentzsch http://rentzsch.com
| Red Shed Software http://redshed.net
| "better" necessarily means "different"
_______________________________________________
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.


  • Prev by Date: Re: Preference dialog
  • Next by Date: Re: Is there anyway to forward these events to my custom buttons?
  • Previous by thread: NSPasteBoard
  • Next by thread: Re: NSPasteboard
  • Index(es):
    • Date
    • Thread