XCode - Plists and IB

Joined
Jul 27, 2010
Messages
2
Reaction score
0
Points
1
Hello,

I am currently putting together an app in which text fields within the xib file will read data from a plist file using ObjectForKey. Adding a string into the plist and getting it shown in the UI isn't a problem. My query is how i can add a new line (similar to \n) to the string which will appear as a new line in the text field.

At the moment adding a string into the UITextField will look like this:

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

When what i'm after is:

xxxxxxx
xxxxxxx
xxxxxxx
xxxxxxx

Anyone able to help? I'm hoping this makes sense!

Thanks in advance for your replies

Simon
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top