• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
RE: How to clear text of an NSTextView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >How to clear text of an NSTextView (From: aashish tiwari <email@hidden>)

  • Prev by Date: NSBrowser and cell size
  • Next by Date: (no subject)
  • Previous by thread: How to clear text of an NSTextView
  • Next by thread: Re: How to clear text of an NSTextView
  • Index(es):
    • Date
    • Thread