String Constant as a Localized String

前端 未结 6 2061
深忆病人
深忆病人 2021-02-13 18:14

I would like to localize my constants. Constants are defined and declared the usual way:

extern NSString * const kStringName;

NSString * const kStringName = @\"         


        
6条回答
  •  你的背包
    2021-02-13 18:45

    This is something you can't do.

    Depending on why exactly you are trying to do, maybe a good solution would be to use a static string variable.

提交回复
热议问题