Shannon Chen

Results 850 comments of Shannon Chen

@pj4533 I just met the same issue as you mentioned.I was trying to hook a table view delegate method in different classes, but the error log says: > "tableView:didSelectRowAtIndexPath: already...

This is really a nice book, but only has 20% content translated to English, what's a pity.

@huangshiguang 我也遇到了同样的问题,在模拟器上能运行,在真机(iOS 9.3.2)上运行时发生崩溃: ``` dyld: Library not loaded: @rpath/Rexxar.framework/Rexxar Referenced from: /var/containers/Bundle/Application/71F2EF02-0731-4AB5-8570-EE5B706C39E3/RexxarDemo.app/RexxarDemo Reason: image not found ``` 但是,参考这个 [答案](https://stackoverflow.com/a/26043991/7088321),导入 Rexxar 的framework,就解决了。

如果你每次请求调用的是`-startWithCompletionBlockWithSuccess:` 方法,就会重新设置回调 block,所以在下拉刷新的场景下是没问题的。如果调用的是 `-start`方法,而且在每次调用前没有设置回调 block,就是一次性的。

『显示上次请求数据』 指的是先直接调用 `-loadCacheWithError` 直接读取数据,解析后并显示,然后再调用 `-startWith...` 方法正常发起请求。 ``` Objective-C // 1. 创建 api request NSString *userId = @"1"; GetUserInfoApi *api = [[GetUserInfoApi alloc] initWithUserId:userId]; // 2. 加载缓存 if ([api loadCacheWithError:nil]) {...

@yangzheng006 这是 YTKNetwork 官方的 demo 里面的,只是个示例。

- [如何让下班之后的生活变得丰富多彩、健康积极? - 池太的回答 - 知乎](https://www.zhihu.com/question/26663467/answer/35378889)(推荐) - [单身女青年如何有趣地过周末?](https://www.zhihu.com/question/28568593) - [一个人在周末可以哪些事?](https://www.zhihu.com/question/25867086) - [身边没什么朋友,如何找些充实的事干,度过周末?](https://www.zhihu.com/question/22162898) - [怎样扩大自己现实中社交朋友圈?](https://www.zhihu.com/question/38089053)

### 注意 - **下班后尽量选择需要动手但脑力要求不高的活动。这样一方面让工作了一天的大脑休息,另一方面可以让自己变的有精神。** - **不要打开电脑,不要打开电脑,不要打开电脑** - **劳逸结合、有的放矢** ### 清单 - 体力运动 - 跑步 - 打羽毛球 - 洗衣服、打扫卫生 - 洗澡 - 脑力劳动(要尽量选择不需要用电脑的学习项目) - 看书 - 写作 - 写代码 - 学习新技能、新知识...

@RoryXiang 卧槽,这都被你找到了?!!你咋发现的。。。。。

### 延伸阅读 - [Apple 官方对 ARKit 的介绍](https://developer.apple.com/arkit/) - [olucurious/Awesome-ARKit](https://github.com/olucurious/Awesome-ARKit) - [miliPolo/Amazing-ARkit](https://github.com/miliPolo/Amazing-ARkit)