Re: making a copy of text in document window
Re: making a copy of text in document window
- Subject: Re: making a copy of text in document window
- From: "John C. Randolph" <email@hidden>
- Date: Tue, 30 Aug 2005 16:50:03 -0700
On Aug 30, 2005, at 4:46 PM, Boyd Collier wrote:
I have a very simple document application with only one window
showing the contents of a plain text file and a single button.
When the button is pressed, I want to copy the text (without any of
the formatting) into a buffer that I can manipulate.
NSString *textViewContents = [[myTextView string] copy];
-jcr
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden