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

NSPasteBoard


  • Subject: NSPasteBoard
  • From: Matthew Weinstein <email@hidden>
  • Date: Sun, 29 Feb 2004 13:53:37 -0500

I must be missing something obvious. I want to be able to copy text
from an nstextview without tags. So I process the text and create a
string called nText that has no tags and now want to export it to the
clipboard.

Here is how I send it to the pasteboard:

a = [[NSPasteboard generalPasteboard] setString: nText forType:
NSStringPboardType];

Now I've done no setting of types, since I assumed that this would be
preset. Am I missing something? It comes back with a == NO...

Matthew
--
Matthew Weinstein
Associate Professor of Science Education
Kent State University

404D White Hall
KSU
Kent, OH 44242

330-672-0653

email@hidden
http://educ.kent.edu/~mweinste
_______________________________________________
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: Help - Outline view woes
  • Next by Date: Re: Preference dialog
  • Previous by thread: Re: Help - Outline view woes
  • Next by thread: Re: NSPasteBoard
  • Index(es):
    • Date
    • Thread