摘要: if ((scrollView.contentOffset.y + scrollView.frame.size.height) >= scrollView.contentSize.height) { if (!self.isLoadingMoreData) { self.isLoadingMoreD 阅读全文
posted @ 2015-07-16 16:42 qike 阅读(161) 评论(0) 推荐(0) 编辑
摘要: Have you tried this? CGFloat val = 37.777779;CGFloat rounded_down = floorf(val * 100) / 100; /* Result: 37.77 */CGFloat nearest = floorf(val * 100 + 0 阅读全文
posted @ 2015-07-16 09:51 qike 阅读(377) 评论(0) 推荐(0) 编辑
摘要: It is possible to disable ARC for individual files by adding the -fno-objc-arc compiler flag for those files.You add compiler flags in Targets -> Buil 阅读全文
posted @ 2015-07-16 09:22 qike 阅读(135) 评论(0) 推荐(0) 编辑