On 2011-05-25, at 2:10 PM, koko wrote:
> 
> How does one get crlf into a UITextView?

I've put things on a new line by doing essentially:
m_notes.text = [m_notes.text stringByAppendingFormat:@"\n\n%@", [m_backing 
objectAtIndex:index]];

At which point, the object would be @"Text to add".  I'm not sure about '\r', 
not whether the do anything useful nor whether they work the same in a format 
string.


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to