上一页 1 ··· 22 23 24 25 26 27 28 29 30 ··· 42 下一页

iOS如何接收服务端返回的布尔值

摘要: 关键是要调用boolValue, 直接接收的话值是不对的 阅读全文
posted @ 2018-03-09 17:27 土匪7 阅读(259) 评论(0) 推荐(0)

iOS将excel转plist

摘要: iOS将excel转plist 先把excel用Numbers打开,转换成CSV,然后新建一个工程,写下面的代码: 阅读全文
posted @ 2018-03-04 10:57 土匪7 阅读(242) 评论(0) 推荐(0)

ios APP改名推送名字还是旧的

摘要: 重启手机就行了 https://community.jiguang.cn/t/ios-app/14759 阅读全文
posted @ 2018-02-23 18:02 土匪7 阅读(281) 评论(0) 推荐(0)

2017总结,2018计划

该文被密码保护。 阅读全文
posted @ 2018-02-19 20:21 土匪7 阅读(2) 评论(0) 推荐(0)

(未完成)在block内如何修改block外部变量

摘要: 变量必须用__block修饰,否则编译不通过 block内部会把变量拷贝到堆区 变量从栈区copy->堆区 通过对对象取地址,打印出对象在内存中的地址 &a block不允许修改外部变量的值,是指不允许修改外部变量在栈区的指针地址 栈中指针的内存地址 __block是将变量的指针从栈区指向了堆区? 阅读全文
posted @ 2018-01-30 23:18 土匪7 阅读(188) 评论(0) 推荐(0)

半屏控制器,view: UIViewController+KNSemiModal

摘要: 半屏控制器,view: UIViewController+KNSemiModal https://github.com/kentnguyen/KNSemiModalViewController 阅读全文
posted @ 2018-01-29 11:31 土匪7 阅读(235) 评论(0) 推荐(0)

CGPoint->NSValue

摘要: http://blog.sina.com.cn/s/blog_65a8ab5d0101c0n2.html 阅读全文
posted @ 2018-01-19 16:38 土匪7 阅读(141) 评论(0) 推荐(0)

!!!!!换证书,旧的推送没了

摘要: 换证书,旧的推送没了 阅读全文
posted @ 2018-01-18 23:18 土匪7 阅读(117) 评论(0) 推荐(0)

私聊,点击查看大图,卡顿

摘要: 用的 imageWithData当然会卡顿 正确的姿势: 使用缩略图作为站位图 阅读全文
posted @ 2018-01-16 15:43 土匪7 阅读(174) 评论(0) 推荐(0)

按钮,图片边缘有锯齿

摘要: closeBtn.layer.shouldRasterize = YES;closeBtn.layer.rasterizationScale = [UIScreen mainScreen].scale; http://www.cocoachina.com/bbs/read.php?tid-16780 阅读全文
posted @ 2018-01-15 19:52 土匪7 阅读(153) 评论(0) 推荐(0)
上一页 1 ··· 22 23 24 25 26 27 28 29 30 ··· 42 下一页