         super.viewDidLoad()
 
         setupChildController()
-//        self.tabBar.tintColor = UIColor.orange
+        setupComposeButton()
     }
 
     override func didReceiveMemoryWarning() {

//设置界面
extension HWBMainTabBarVC
{
    func setupChildController()
    {
        let array = [
            ["clsName":"HWBHomeViewController","title":"首页","imageName":"tabbar_home"],
            ["clsName":"HWBMessageViewController","title":"消息","imageName":"tabbar_message_center"],
            ["clsName":"HWBDiscoverViewController","title":"发现","imageName":"tabbar_discover"],
            ["clsName":"HWBProfileViewController","title":"我的","imageName":"tabbar_profile"],
        

        // Dispose of any resources that can be recreated.
    }
    
    lazy var composeButton:UIButton = UIButton.cz_imageButton("tabbar_compose_icon_add", backgroundImageName: "tabbar_compose_button")
}

//类似于OC中的分类，swift中切分代码，相近代码的函数放在一个extension便于代码维护
