博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2017年9月12日

摘要: NSURLSessionConfiguration *config = [NSURLSessionConfiguration defaultSessionConfiguration]; _session = [NSURLSession sessionWithConfiguration:config 阅读全文

posted @ 2017-09-12 21:53 肖无情 阅读(1562) 评论(0) 推荐(1) 编辑

2017年7月20日

摘要: 会让输入自定义授权码..用这个密码代替邮箱的密码,就可以发邮件了。 阅读全文

posted @ 2017-07-20 23:50 肖无情 阅读(177) 评论(0) 推荐(0) 编辑

2017年7月19日

摘要: iOS开发SDWebImageOptions理解 原文 http://www.cnblogs.com/WJJ-Dream/p/5816750.html typedef NS_OPTIONS(NSUInteger, SDWebImageOptions) { SDWebImageRetryFailed 阅读全文

posted @ 2017-07-19 11:47 肖无情 阅读(3500) 评论(0) 推荐(0) 编辑

2017年7月17日

摘要: Core Graphices 设置渐变 Quartz 提供了两种设置渐变的方式 CGShadingRef and CGGradientRef 尝试CGGradientRef 的使用 参数更具体的意义请查看: http://blog.csdn.net/u012890117/article/detail 阅读全文

posted @ 2017-07-17 11:21 肖无情 阅读(228) 评论(0) 推荐(0) 编辑

2017年7月13日

摘要: 查看Assets.xcassets打包ipa之后Assets.car的图片资源 不经常使用 记录一份;原文地址http://www.jianshu.com/p/a5dd75102467 cartool github地址:https://github.com/steventroughtonsmith/ 阅读全文

posted @ 2017-07-13 10:14 肖无情 阅读(466) 评论(0) 推荐(0) 编辑

2017年7月11日

摘要: Core Graphices 获取上下文的三种方式: 1、自定义view 重写view 的 drawRect:(CGRect)rect方法 draw的调用时机 1.如果在UIView初始化时没有设置rect大小,将直接导致drawRect不被自动调用。 2.该方法在调用sizeThatFits后被调 阅读全文

posted @ 2017-07-11 15:06 肖无情 阅读(215) 评论(0) 推荐(0) 编辑