@IBAction func heightChanged(sender: UISlider) {
high.text = "\(Int(sender.value))厘米"
}
其实只需要一行代码
high.text = "\(Int(sender.value))厘米"
}
其实只需要一行代码
2015-05-06
todos.append(todo) 报错 吧数据添加到数组里报错咯 报错原因 NSArray is not a subtype of TodeModel
2015-04-30
最赞回答 / _Bay
语法更新了,用components([.Year], fromDate: <#NSDate#>, toDate: <#NSDate#>, options: <#NSCalendarOptions#>)就OK
2015-04-26