wenweiwei 3 年之前
父節點
當前提交
d3f4471949
共有 1 個文件被更改,包括 5 次插入1 次删除
  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() {