摘要:
func repeatItem(item:Item, numberOfTimes:Int) -> [Item]{ var result = [Item]() for _ in 0..<numberOfTimes{ result.append(item) } return result}... 阅读全文
posted @ 2015-12-07 23:20
以神之名
阅读(341)
评论(0)
推荐(0)
摘要:
protocol ExampleProtocol{ var simpleDescription:String{get} mutating func adjust()}class SimpleClass:ExampleProtocol{ var simpleDescription:String ... 阅读全文
posted @ 2015-12-07 22:41
以神之名
阅读(531)
评论(0)
推荐(0)

浙公网安备 33010602011771号