ViewController.swift 778 B

1234567891011121314151617181920212223242526272829
  1. //
  2. // ViewController.swift
  3. // BFCommonKit
  4. //
  5. // Created by wenweiwei on 06/17/2021.
  6. // Copyright (c) 2021 wenweiwei. All rights reserved.
  7. //
  8. import UIKit
  9. import BFCommonKit
  10. class ViewController: PQBaseViewController {
  11. override func viewDidLoad() {
  12. super.viewDidLoad()
  13. // Do any additional setup after loading the view, typically from a nib.
  14. let btn = UIButton.init(type: .contactAdd)
  15. btn.frame = CGRect.init(x: 100, y: 100, width: 100, height: 100)
  16. btn.backgroundColor = UIColor.hexColor(hexadecimal: "#3DC1C1")
  17. view.addSubview(btn)
  18. leftBackButton()
  19. }
  20. override func didReceiveMemoryWarning() {
  21. super.didReceiveMemoryWarning()
  22. // Dispose of any resources that can be recreated.
  23. }
  24. }