code 1 :
cell.textLabel.text = LocalizedString(@"nice title");
code 2 :
cell.textLabel.text = LocalizedString(@"nice title",nil);
What is the difference between them ?
which one is correct and can be used ?
You should write it like this
cell.textLabel.text = NSLocalizedString(@"nicetitle",@"comment goes here");