update
This commit is contained in:
37
Pods/CocoaDebug/Sources/App/AboutViewController.swift
generated
Normal file
37
Pods/CocoaDebug/Sources/App/AboutViewController.swift
generated
Normal file
@@ -0,0 +1,37 @@
|
||||
//
|
||||
// Example
|
||||
// man
|
||||
//
|
||||
// Created by man 11/11/2018.
|
||||
// Copyright © 2020 man. All rights reserved.
|
||||
//
|
||||
|
||||
import Foundation
|
||||
import UIKit
|
||||
|
||||
class AboutViewController: UITableViewController {
|
||||
|
||||
@IBOutlet weak var versionLabel: UILabel!
|
||||
@IBOutlet weak var naviItem: UINavigationItem!
|
||||
|
||||
var naviItemTitleLabel: UILabel?
|
||||
|
||||
//MARK: - init
|
||||
override func viewDidLoad() {
|
||||
super.viewDidLoad()
|
||||
|
||||
naviItemTitleLabel = UILabel.init(frame: CGRect(x: 0, y: 0, width: 80, height: 40))
|
||||
naviItemTitleLabel?.textAlignment = .center
|
||||
naviItemTitleLabel?.textColor = Color.mainGreen
|
||||
naviItemTitleLabel?.font = .boldSystemFont(ofSize: 20)
|
||||
naviItemTitleLabel?.text = "About"
|
||||
naviItem.titleView = naviItemTitleLabel
|
||||
|
||||
|
||||
// let version = "1.7.2"
|
||||
//
|
||||
// self.versionLabel.text = "CocoaDebug Version ".appending(version)
|
||||
|
||||
tableView.tableFooterView = UIView()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user