Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Localized label for struct
class LocalizedLabel: UILabel {
var localizationKey: LocalizationKey?
func set(key localization: Localization) {
self.text = localization.string
self.localizationKey = localization.key
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.