11 2016 档案

摘要://返回一个RGB颜色 class func getColor(r:CGFloat,g:CGFloat,b:CGFloat,l:CGFloat = 1) ->UIColor{ let color = UIColor(red: r/255.0, green: g/255.0, blue: b/255. 阅读全文
posted @ 2016-11-02 13:52 zuidap 阅读(827) 评论(0) 推荐(0) 编辑
摘要://MARK:- UIScrollView let scrollView = UIScrollView() scrollView.delegate = target scrollView.backgroundColor = UIColor.groupTableViewBackground scrol 阅读全文
posted @ 2016-11-02 13:49 zuidap 阅读(431) 评论(0) 推荐(0) 编辑
摘要://设置textfile的Placeholder的颜色和字体大小 nameText.attributedPlaceholder = NSAttributedString.init(string: "用户名", attributes: [NSForegroundColorAttributeName: 阅读全文
posted @ 2016-11-02 12:07 zuidap 阅读(312) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示