wenweiwei 3 năm trước cách đây
mục cha
commit
d3f4471949
1 tập tin đã thay đổi với 5 bổ sung1 xóa
  1. 5 1
      Example/BFCommonKit/ViewController.swift

+ 5 - 1
Example/BFCommonKit/ViewController.swift

@@ -7,12 +7,16 @@
 //
 
 import UIKit
-
+import BFCommonKit
 class ViewController: UIViewController {
 
     override func viewDidLoad() {
         super.viewDidLoad()
         // Do any additional setup after loading the view, typically from a nib.
+        let btn = UIButton.init(type: .contactAdd)
+        btn.frame = CGRect.init(x: 100, y: 100, width: 100, height: 100)
+        btn.backgroundColor = UIColor.hexColor(hexadecimal: "#3DC1C1")
+        view.addSubview(btn)
     }
 
     override func didReceiveMemoryWarning() {