iphone - how can i display a string in textView -


I have found some data, I'm converting it to a string, but it is not being displayed in the textView Can anyone help me with this

aStr = [[NSString alloc] initWithData: data encoding: NSASCIIStringEncoding];

[mTextView setStringValue: aStr];

Is there any other way to do this? MTextView is a type of outlet here. NSTextView

This does not mean that it is a UITextView < / Code>, in which case you can use [mTextView setText: aStr] .

If this is a NSTextView , then perhaps you instead of [mTextView SetString: aStr] ?


Comments

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -