How to get the string value of a UItextView?

Posted by cocos2dbeginner on Stack Overflow See other posts from Stack Overflow or by cocos2dbeginner
Published on 2010-12-30T18:44:20Z Indexed on 2010/12/31 4:54 UTC
Read the original article Hit count: 169

Filed under:
|

Hi,

I have a UITextView and a NString;

I made this:

myS = [myInfoTextView text];

but i get this in the console and not the string which is in the uitextview

 (
    "<UIToolbarTextButton: 0x4d200c0; frame = (6 0; 112 44); opaque = NO; layer = <CALayer: 0x4da5540>>",
    "<UIToolbarTextButton: 0x4da5bb0; frame = (128 0; 106 44); opaque = NO; layer = <CALayer: 0x4d9e640>>"
) 

PS: I'm using the iphone sdk 4.2.

© Stack Overflow or respective owner

Related posts about iphone

Related posts about text