RE: How to clear text of an NSTextView
RE: How to clear text of an NSTextView
- Subject: RE: How to clear text of an NSTextView
- From: Vinay Prabhu <email@hidden>
- Date: Tue, 30 Jan 2007 18:21:39 +0530
- Importance: Normal
setString is the member function of class NSTextView.
So you need to have an object to call setString function.
You can observe the warning 'NSTextView may not respond to setString'.
-----Original Message-----
From: cocoa-dev-bounces+vinayprabhu=email@hidden
[mailto:cocoa-dev-bounces+vinayprabhu=email@hidden]On
Behalf Of aashish tiwari
Sent: Tuesday, January 30, 2007 3:11 PM
To: cocoa dev list
Subject: How to clear text of an NSTextView
Hi All,
How can i clear text of an NSTextView object.
i have tried
[NSTextView setString:@""];
Most of the time works fine, but sometimes my app hangs on executing this
statement.
Please help me,
Thanks,
Aashish
---------------------------------
What kind of emailer are you? Find out today - get a free analysis of your
email personality. Take the quiz at the Yahoo! Mail Championship.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
in
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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