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.
阅读全文
摘要://MARK:- UIScrollView let scrollView = UIScrollView() scrollView.delegate = target scrollView.backgroundColor = UIColor.groupTableViewBackground scrol
阅读全文
摘要://设置textfile的Placeholder的颜色和字体大小 nameText.attributedPlaceholder = NSAttributedString.init(string: "用户名", attributes: [NSForegroundColorAttributeName:
阅读全文