访次: AmazingCounters.com 次
摘要: [tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationAutomatic]; 删除行 -(void)tableView:(UITabl 阅读全文
posted @ 2016-09-01 09:51 JusDoit 阅读(1887) 评论(0) 推荐(0) 编辑
摘要: x y z 分别是尖角的三个顶点的x坐标,从左到右排列 后面的[UIScreen mainScreen].bounds.size.height -65 是y坐标 与x坐标一一对应 - (void)shapeChange:(int)x Pointy:(int)y Pointz:(int)z{ /*形状 阅读全文
posted @ 2016-08-23 17:48 JusDoit 阅读(295) 评论(0) 推荐(0) 编辑
摘要: https://testerhome.com/topics/2718 小猴子安装教程 由于使用小猴子列出设备表出现线程卡死,所以绕路使用 Instruments -w device smart_monkey -a com.jusive -w c86da54f6e6a48dfaa39646ed00fe 阅读全文
posted @ 2016-08-23 17:39 JusDoit 阅读(184) 评论(0) 推荐(0) 编辑
摘要: //class_addIvar 添加属性 //class_copyIvarList 获取属性列表 //class_addProperty 添加Property属性 //class_addProtocol 添加协议 //class_copyMethodList 获取方法列表 //class_copyP 阅读全文
posted @ 2016-08-12 11:14 JusDoit 阅读(308) 评论(0) 推荐(0) 编辑
摘要: 按照文档demo以及很多网上教程,基本上实现了测试iD成功调起微信支付,但是支付成功以及与自己的后台交互就出现问题了,第一个问题是两个appID都需要该成自己的别忘了,并且别用控制器器管理我就莫名的出现了一个白板在支付回调的时候,太坑! 下方是与后台的交互,我就是把这个变成了控制器白板就出现了 #i 阅读全文
posted @ 2016-08-11 15:07 JusDoit 阅读(428) 评论(0) 推荐(0) 编辑
摘要: webview如何想要js和oc交互,需要使用代理方法 ,并且需要和后台协定规则 -(BOOL)webView:(UIWebView *)webView shouldStartLoadWithRequest:(NSURLRequest *)request navigationType:(UIWebV 阅读全文
posted @ 2016-08-11 14:55 JusDoit 阅读(326) 评论(0) 推荐(0) 编辑
摘要: 首先,如果只有一个ScrollView,系统会对其进行优化,就会出现位置对不上的情况,所以使用 self.automaticallyAdjustsScrollViewInsets = NO; 防止系统优化 其次,有的时候会遇到上滑自动弹回而且和button点击事件冲突,这个原因是因为 Scrollv 阅读全文
posted @ 2016-08-11 14:46 JusDoit 阅读(216) 评论(0) 推荐(0) 编辑
摘要: 常用的操作 enumerateKeysAndObjectsUsingBlock 字典遍历 enumerateObjectsUsingBlock 数组遍历 characterAtIndex substringWithRange 字符串遍历 componentsSeparatedByString 字典转 阅读全文
posted @ 2016-06-13 15:44 JusDoit 阅读(863) 评论(0) 推荐(0) 编辑
摘要: ****************终极杀人魔--火云邪神**************** git:终极大招: 1:场景: 你已经执行了 git push, 把你的修改发送到了 GitHub,现在你意识到这些 commit 的其中一个是有问题的,你需要撤销那一个 commit. 方法: git reve 阅读全文
posted @ 2016-03-31 16:18 JusDoit 阅读(240) 评论(0) 推荐(0) 编辑
摘要: 从字面上看就是运行循环,其实内部就是do-while循环,底层是GCD实现的,在这个循环内部不断处理各种事件(比如Source,Timer.Observer) 一个线程对应一个Runloop(线程是Key Runloop是value)主线程默认启动,子线程要手动启动(调用run) Runloop只能 阅读全文
posted @ 2016-03-06 20:50 JusDoit 阅读(778) 评论(0) 推荐(0) 编辑