How do you set the text in an NSTextView?
How do you set the text in an NSTextView?
- Subject: How do you set the text in an NSTextView?
- From: G S <email@hidden>
- Date: Fri, 7 May 2010 07:33:10 -0700
Hi all. I have a couple of tabs on my window, each of which has an
NSTextView. You have to declare the IBOutlet variable in the app delegate
as an NSScrollView; only by doing that can you get the outlet to show up on
the Control-drag to the widget in Interface Builder.
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.
Thanks!
_______________________________________________
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