常用设计模式示例DesignPatterns.zip
DesignPatterns是如何使用常用设计模式及示例。示例:class MoneyPile { let value: Int var quantity: Int var nextPile: MoneyPile? init(value: Int, quantity: Int, nextPile: MoneyPile?) { self.value = value self.quantity = quantity self.nextPile = nextPile } func canWithdraw(var v: Int) -> Bool { func c
下载地址
用户评论