Swift
HarretLee
代码搬运工。
展开
-
swift 字符串小记
字符串分割函数: let str:String = "http://www.example.com/img/string.jpg" imgback(str) imgpath(str) func imgback(str:String) -> String { var imgname:NSString = str.lastPathComponent va原创 2014-11-26 04:08:24 · 297 阅读 · 0 评论 -
swift UILabel小记
var title0: UILabel! override func viewDidLoad() { super.viewDidLoad() // Do any additional setup after loading the view, typically from a nib. title0 = UILabel(frame:原创 2014-11-26 04:09:33 · 285 阅读 · 0 评论