FROM : Steve Cronin
DATE : Wed Nov 28 21:53:07 2007
Folks;
I know there is a ton of documentation on this but if you don't know
how to ask the right question you will never find the right
answer... I have tried but I just can't seem to find what I'm
looking for.
I have a regular old NSTextView (so I get the scrolling and new lines
versus using a NSTextField)
I have the attributedString set in bindings to a instance variable in
the windowController -> myAttrString
If the user is entering data into this NSTextView and then grabs the
mouse and clicks a button I am not getting the latest data with
[myAttrString string]
On the button click I'd like to do something like:
[myTextView textShouldEndEditing] but that doesn't work.
It seems so simple.. I apologize if my frustration has made me blind
to something well documented!
Thanks for any help!
Steve
DATE : Wed Nov 28 21:53:07 2007
Folks;
I know there is a ton of documentation on this but if you don't know
how to ask the right question you will never find the right
answer... I have tried but I just can't seem to find what I'm
looking for.
I have a regular old NSTextView (so I get the scrolling and new lines
versus using a NSTextField)
I have the attributedString set in bindings to a instance variable in
the windowController -> myAttrString
If the user is entering data into this NSTextView and then grabs the
mouse and clicks a button I am not getting the latest data with
[myAttrString string]
On the button click I'd like to do something like:
[myTextView textShouldEndEditing] but that doesn't work.
It seems so simple.. I apologize if my frustration has made me blind
to something well documented!
Thanks for any help!
Steve
| Related mails | Author | Date |
|---|---|---|
| Steve Cronin | Nov 28, 21:53 | |
| Joshua Emmons | Nov 28, 22:49 | |
| Steve Cronin | Nov 29, 04:04 |






Cocoa mail archive

