I have an iOS app that requires me to have a “bank” of several lines. I mean, I need to have some lines that I can call at any time. That’s what I’m thinking about.
#define STR_ONE @"1"
#define STR_TWO @"2"
And when I need to use these lines, I just include the header file. I decided to go with the header file because there would be many of these lines, and I just wanted to leave them separate. So the question is: Is this the best approach to solving my problem? Are there any alternative (and better) ways that I'm missing?
Side notes: is there any memory management that I should think of here? Should it be written to a file and drawn from there?
Thankyou