In the application I am making, I have many huge lines. I don’t want to hard code them into my code, because it makes the code unbearably dirty. When I made a similar application for Android, it was simple to declare a line in the strings.xml file as
<string name="hello_world">Hello World!!</string>
and access it in java file using
getString(R.string.hello_world);
How can I do something similar with iOS?
source
share