NSPasteBoard
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.