-
Couldn't load subscription status.
- Fork 0
nslocalizedstring_key
Ian Applebaum edited this page Jun 13, 2020
·
1 revision
Static strings should be used as key in NSLocalizedString in order to genstrings work.
- Identifier: nslocalizedstring_key
- Enabled by default: Disabled
- Supports autocorrection: No
- Kind: lint
- Analyzer rule: No
- Minimum Swift compiler version: 3.0.0
- Default configuration: warning
NSLocalizedString("key", comment: nil)NSLocalizedString("key" + "2", comment: nil)NSLocalizedString(↓method(), comment: nil)NSLocalizedString(↓"key_\(param)", comment: nil)