I m using stringdict file for pluralization in iOS. I need to use the \n for the new line but If I use \n in stringdict file it's not showing the text in the new file. How can I use \n for the new line?
Asked
Active
Viewed 303 times
1
-
And if you call it, does the new line appear. It's might be just how XCode show a plist file. It's not done for showing more that one line. – Larme Jan 18 '21 at 09:20
-
no. It shows \n as text – Aashish Nagar Jan 18 '21 at 09:27
-
Maybe there: https://stackoverflow.com/questions/2035567/nsstring-newline-escape-in-plist – Larme Jan 18 '21 at 09:28
-
Yes, it is working. Thanks @Larme – Aashish Nagar Jan 18 '21 at 09:42
-
1Does this answer your question? [NSString: newline escape in plist](https://stackoverflow.com/questions/2035567/nsstring-newline-escape-in-plist) – Larme Jan 18 '21 at 09:42
-
Yes. That's answer my question – Aashish Nagar Jan 19 '21 at 06:20
1 Answers
3
- Verified Solution:
The stringsdict file allows you to jump to a new line using the key combination (option + enter)

abhi shakya
- 31
- 3