add crlf to UITextView
add crlf to UITextView
- Subject: add crlf to UITextView
- From: koko <email@hidden>
- Date: Wed, 25 May 2011 12:10:47 -0600
I have set the text property of myUITextView. Now I want to add more text that is preceded by a crlf. I do this:
m_notes.text = [m_notes.text stringByAppendingString:[m_backing objectAtIndex:index]];
where objectAtIndex:index is @"\r\n\r\nText to add"
The result is not what I expected ... \r\n\r\n appears in the text.
How does one get crlf into a UITextView?
koko
"Don't fight the framework."
--Kyle Sluder
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please 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