Commit 3aeac477 authored by David黄金龙's avatar David黄金龙

删除 不使用的代码

parent 5b930306
......@@ -77,14 +77,8 @@ extension AppDelegate {
let v1 = YHNavigationController(rootViewController: YHHomeViewController())
let v2 = YHNavigationController(rootViewController:YHMyViewController())
// let vc3 = YHHomeViewController()
// let v3 = BsNavigationController(rootViewController: vc3)
// let v4 = BsNavigationController(rootViewController: YHHomeViewController())
v1.tabBarItem = ESTabBarItem.init(YHBasicContentView(),title: "智慧服务", image: UIImage(named: "home"), selectedImage: UIImage(named: "home_1"))
v2.tabBarItem = ESTabBarItem.init(YHBasicContentView(),title: "我的", image: UIImage(named: "find"), selectedImage: UIImage(named: "find_1"))
// v3.tabBarItem = ESTabBarItem.init(BsBouncesContentView(), title: "安睡", image: UIImage(named: "photo"), selectedImage: UIImage(named: "photo_1"))
// v4.tabBarItem = ESTabBarItem.init(BsBouncesContentView(), title: "我的", image: UIImage(named: "me"), selectedImage: UIImage(named: "me_1"))
tabBarController.viewControllers = [v1, v2]
tabBarController.tabBar.backgroundColor = .white
......
......@@ -172,5 +172,5 @@ extension String {
/// - method: 所在方法
/// - line: 所在行
public func printLog<T>(_ message: T, file: String = #file, method: String = #function, line: Int = #line) {
print("\((file as NSString).lastPathComponent)[\(line)],\(method):\(message)")
print("\n[文件]:\((file as NSString).lastPathComponent) [所在行]:\(line),[方法名称]:\(method),[具体信息]:\(message)")
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment