- 授权协议: MIT
- 开发语言: Swift
- 操作系统: iOS
- 软件首页: https://github.com/nghialv/Hakuba
软件介绍
Hakuba 是管理 UITableView 的新方式。
代码示例
// viewController swift file
hakuba = Hakuba(tableView: tableView)
let cellmodel = YourCellModel(title: "Title", des: "description") {
println("Did select cell with title = \(title)")
}
hakuba[2].append(cellmodel) // append a new cell model in datasource
.slide(.Fade) // show the cell of your cell model in the table view
hakuba[1].remove(1...3)
.slide(.Right)// your cell swift file
class YourCellModel : MYCellModel {
let title: String
let des: String
init(title: String, des: String, selectionHandler: MYSelectionHandler) {
self.title = title
self.des = des
super.init(YourCell.self, selectionHandler: selectionHandler)
}
}
class YourCell : MYTableViewCell {
@IBOutlet weak var titleLabel: UILabel!
override func configureCell(data: MYCellModel) {
super.configureCell(data)
if let cellmodel = data as? YourCellModel {
titleLabel.text = cellmodel.title
}
}
}第二曲线:跨越“S型曲线”的二次增长
[英]查尔斯·汉迪(Charles Handy) / 苗青 / 机械工业出版社 / 2017-6 / 49.00
S型曲线是每个组织和企业在预测未来时一定会参考的工具,一切事物的发展都逃不开S型曲线(“第一曲线”)。 然而,从公司组织、企业治理、市场的变化,到个人职业发展、社会人际关系以及未来的教育与社会价值,多维度地探讨这个世界需要重新以不同的角度来思考问题,不能够总是停留在“第一曲线”的世界。 如果组织和企业能在第一曲线到达巅峰之前,找到带领企业二次腾飞的“第二曲线”,并且第二曲线必须在第一曲......一起来看看 《第二曲线:跨越“S型曲线”的二次增长》 这本书的介绍吧!
