override func viewDidLoad() {
super.viewDidLoad()
let controller1 = ViewController()
let navigation = UINavigationController(rootViewController:controller1)
controller1.title = "123"
controller1.navigationController?.navigationBar.barTintColor = UIColor.greenColor()
let navigationDic = [NSForegroundColorAttributeName : UIColor.whiteColor()]
controller1.navigationController?.navigationBar.titleTextAttributes = navigationDic
let controller2 = UIViewController()
controller2.view.backgroundColor = UIColor.redColor();
self.addChildViewController(navigation)
self.addChildViewController(controller2)
controller1.tabBarItem.title = "111"
controller2.tabBarItem.title = "222"
tabBar.tintColor = UIColor.redColor()
}