Hanson's Blog.

记一次失败的 Swift 元组数组实践
想建立一个元组的数组,来简单存放构建 TabViewController 的信息首先我的做法是1234567let homeTab = (vc: VYHomeViewController(), title: "Home", image: "home_gray", selectedImage: "home_blue")let infoTab = (vc: VYInformationViewController(), title: "Info", image: "home_gray", selectedImage: "home_blue")let marketTab = (vc: VYMar...