Re: NSTextView
Re: NSTextView
- Subject: Re: NSTextView
- From: Graham Cox <email@hidden>
- Date: Thu, 27 Nov 2008 21:34:35 +1100
On 27 Nov 2008, at 9:27 pm, Mahaboob wrote:
Hi all,
I need to check whether the NSTextView contains any data.
For an NSTextField, [[txtName stringValue] length] should work.
Is there any method like this for a textView?
[[[myTextView textStorage] string] length];
--Graham
_______________________________________________
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
References: | |
| >NSTextView (From: Mahaboob <email@hidden>) |