随笔分类 - swfit-第三方简单使用
摘要:let stringurl = "http://www.huiyunche.cn/kyleuat/banner/list" Alamofire.request(.GET,stringurl,parameters:nil) .responseJSON { response in if let JSON = re...
阅读全文
摘要:let label = UILabel() label.frame = CGRectMake(100, 100, 100, 100) label.backgroundColor = UIColor.cyanColor() label.text = "SnapKit" label.textAlignment = NST...
阅读全文
摘要:let image = UIImageView() image.sd_setImageWithURL(NSURL(string:"http://qiniu.test.huiyunche.cn/banner1.jpg?e=1471421220&token=wQknukoe-lwcjLKEnsBz-Br
阅读全文