Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Erasing a NSTextView



Hi,
I use

[theTextView setString:@""];

and in a while everything disappears :-)



Best Regards
--
Lorenzo
email: email@hidden

> Hi everybody,
>
> is there a way to erase completely an NSTextView programmatically?
> I mean, to do something similar to what you'd normally do in a text
> editor by "Select All" and "Clear" functions.
> I noticed that there are these selectors implemented into the
> FirstResponder into IB but I haven't understood well what this
> "responder" is and how to use it into my application.
>
> Sorry for the extreme stupidity of my question, but I can't catch the
> point.
> TY for any kind help
>
> --
> Sanri Parov
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.