Name classes consistently
* Settings are called *SettingsTableViewController * Key importers are called *ImportTableViewController * Classes in UserInterface folder are split into Controllers or Views
This commit is contained in:
parent
20f18d0c8b
commit
3cdf77347a
14 changed files with 60 additions and 68 deletions
18
pass/Views/UILocalizedLabel.swift
Normal file
18
pass/Views/UILocalizedLabel.swift
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
/*
|
||||
UILocalizedLabel.swift
|
||||
pass
|
||||
|
||||
Created by Danny Moesch on 20.01.19.
|
||||
Copyright © 2019 Bob Sun. All rights reserved.
|
||||
*/
|
||||
|
||||
import UIKit
|
||||
import passKit
|
||||
|
||||
class UILocalizedLabel: UILabel {
|
||||
|
||||
override func awakeFromNib() {
|
||||
super.awakeFromNib()
|
||||
text = text?.localize()
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue