Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
Apple Computing Products:
macOS - Operating System
XCode - Plists and IB
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="oxfordsi" data-source="post: 1129077" data-attributes="member: 166931"><p>Hello,</p><p></p><p>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. </p><p></p><p>At the moment adding a string into the UITextField will look like this:</p><p></p><p>xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx</p><p></p><p>When what i'm after is:</p><p></p><p>xxxxxxx</p><p>xxxxxxx</p><p>xxxxxxx</p><p>xxxxxxx</p><p></p><p>Anyone able to help? I'm hoping this makes sense!</p><p></p><p>Thanks in advance for your replies</p><p></p><p>Simon</p></blockquote><p></p>
[QUOTE="oxfordsi, post: 1129077, member: 166931"] 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 [/QUOTE]
Verification
Post reply
Forums
Apple Computing Products:
macOS - Operating System
XCode - Plists and IB
Top