如何访问nslocalize字符串如何创建变量并在Build Phase中逐步调用swiftGen any
enum L10n {
/// Edit Image
case editScreenTitle
/// Unspecified
case imagekindUnspecified}
// swiftlint:enable type_body_length
extension L10n: CustomStringConvertible {
var description: String { return self.string }
var string: String {
switch self {
case .editScreenTitle:
return L10n.tr(key: "edit.screenTitle")
case .imagekindUnspecified:
return L10n.tr(key: "imagekind.unspecified")
}}