Sorry but I really new in this case.
I have a project where I use revealViewController
. And inside this project I have UITableView
with 4 prototype cells within where each cell shows the user another UIView
by segue. Every cell has its own identifier, for example: cell1, cell2, cell3, cell4.
In code I implement an array that must contain the same strings of names of the cells to work properly:
array = ["cell1", "cell2", "cell3", "cell4"]
And everything is working fine, in first row of the UITableView
I see "cell1", on second row - "cell2" and etc.
But now I want to localize my app and I want to change names of these 4 rows according to the language of the user/application. The problem is that names must be equals to cell identifier. So no if I change a name neither I change an identifier separately I've got SIGART
error.
So, my question is what should I do? Should I change cell identifier in code due NSLocalizedString
? Or there is another solution?
Thank to everyone in advance.