Added app icons, launch screen; changed colours in ViewControllers to colour literals

This commit is contained in:
Deniz Duezgoeren
2019-07-17 21:54:38 +02:00
parent 92e3fed7e6
commit 3a03c1be30
33 changed files with 211 additions and 168 deletions
+3 -7
View File
@@ -24,9 +24,10 @@ class InfoViewController : UIViewController {
scrollView.addSubview(refreshControl)
}
refreshControl.addTarget(self, action: #selector(objDoAsync(_:)), for: .valueChanged)
refreshControl.tintColor = UIColor(red: 0.39, green: 0.71, blue: 0.96, alpha: 1.0)
refreshControl.attributedTitle = NSAttributedString(string: "Fetching some information...")
refreshControl.tintColor = #colorLiteral(red: 0.07843137255, green: 0.5568627451, blue: 1, alpha: 1)
refreshControl.attributedTitle = NSAttributedString(string: NSLocalizedString("fetch_info", comment: ""))
self.scrollView.isDirectionalLockEnabled = true
content.text = df.readInformation()
}
@objc private func objDoAsync(_ sender: Any) {
@@ -35,9 +36,4 @@ class InfoViewController : UIViewController {
self.refreshControl.endRefreshing()
}
}
override func viewDidLoad() {
super.viewDidLoad()
content.text = df.readInformation()
}
}