This commit is contained in:
Florian Gabach
2018-02-22 17:12:06 +01:00
parent 96a45035a9
commit a7a6a1b315
4 changed files with 2 additions and 17 deletions
@@ -14,14 +14,8 @@ class ViewController: UIViewController {
override func viewDidLoad() {
super.viewDidLoad()
// Do any additional setup after loading the view, typically from a nib
}
override func didReceiveMemoryWarning() {
super.didReceiveMemoryWarning()
// Dispose of any resources that can be recreated.
}
// MARK: - Action
/// Handle button click & show the controller with licences
@@ -52,7 +46,7 @@ class ViewController: UIViewController {
openSourceVC.presentOpenSourceController(from: self)
}
// Customization
// MARK: - Customization
fileprivate func controllerCustomUI(openSourceVC: OpenSourceController) {
// Navigation bar title
@@ -7,7 +7,6 @@
import Foundation
extension Array {
/// Get an index safely
func get(at index: Int) -> Element? {
guard index >= 0
@@ -22,14 +22,6 @@ class OpenSourceTableViewCell: UITableViewCell {
super.init(coder: aDecoder)
}
override func setSelected(_ selected: Bool, animated: Bool) {
super.setSelected(selected, animated: animated)
}
override func layoutSubviews() {
super.layoutSubviews()
}
// MARK: - Prepare
func prepareCellComponent() {