1

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 ?

Amin Negm-Awad
  • 16,582
  • 3
  • 35
  • 50

1 Answers1

0

You should write it like this

cell.textLabel.text = NSLocalizedString(@"nicetitle",@"comment goes here");

enter image description here

Shehata Gamal
  • 98,760
  • 8
  • 65
  • 87