Thank you, Phillip. I used your example exactly. 

I had changed the string I was appending to @"\n\nText to Add" which also did 
not work.

koko

"Don't fight the framework."
--Kyle Sluder

On May 25, 2011, at 1:23 PM, Phillip Mills wrote:

> 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/koko%40highrolls.net
> 
> This email sent to k...@highrolls.net
> 

_______________________________________________

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