Load a list of localized strings at once in IOS
- by Victor Ronin
I want to show a table with the list of strings which are localized.
The straightforward method would be:
a) Point data source to my ViewController
b) Define an array
c) Allocate the array in my ViewController and init (arrayWithObjects) it with the strings from localized resources (NSLocalizedString)
d) Use this array in UITableViewDataSource delegated methods
Mainly my concern is item b). The construction looks quite heavy and I wonder whether I can somehow specify and load whole list of localized string at once.