Re: How do you set the text in an NSTextView?
Re: How do you set the text in an NSTextView?
- Subject: Re: How do you set the text in an NSTextView?
- From: Jens Alfke <email@hidden>
- Date: Fri, 7 May 2010 09:20:47 -0700
On May 7, 2010, at 7:33 AM, G S wrote:
> So I have the outlets connected, but an attempt to call setTextValue on the
> textview results in an "unrecognized selector" report. How do you set the
> text in the textView? I tried getting the text container, but no dice.
-setString:. It’s declared in the superclass NSText, which makes it easy to miss. (NSText is an abstract class and really only exists for historical reasons.)
—Jens_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden