2016年9月19日
该文被密码保护。 阅读全文
posted @ 2016-09-19 18:28 久冬不雨 阅读(6) 评论(0) 推荐(0) 编辑
摘要: import UIKit class LolitaCircleButton: UIButton { private var color: UIColor private var imageURL: String init(color: UIColor , imageURL: String) { self.color = colo... 阅读全文
posted @ 2016-09-19 17:32 久冬不雨 阅读(438) 评论(0) 推荐(0) 编辑
摘要: 1.网络适配(强制回退HTTP) 为了强制增强数据访问安全, iOS9 默认会把 所有的http请求 所有从NSURLConnection 、 CFURL 、 NSURLSession发出的 HTTP 请求,都改为 HTTPS 请求:iOS9.x-SDK编译时,默认会让所有从NSURLConnect 阅读全文
posted @ 2016-09-19 12:40 久冬不雨 阅读(359) 评论(0) 推荐(0) 编辑
摘要: //字符串是否为空 #define kStringIsEmpty(str) ([str isKindOfClass:[NSNull class]] || str == nil || [str length] > 16)) / 255.0 \ green:((float)((rgbValue & 0xFF00) >> 8)) / 255.0 \ blue:((float)(rgbValue &... 阅读全文
posted @ 2016-09-19 11:03 久冬不雨 阅读(373) 评论(0) 推荐(0) 编辑