随笔分类 -  ios

摘要:http://stackoverflow.com/questions/18868869/ios7s-subview-trimmed-if-out-of-parent-view-bounds It's because iOS 7 introduced some changes to the view 阅读全文
posted @ 2016-04-15 15:31 qike 阅读(138) 评论(0) 推荐(0)
摘要:Try setting self.automaticallyAdjustsScrollViewInsets = NO in your main view controller.This was introduced in iOS 7 so you might want to wrap that wi 阅读全文
posted @ 2016-04-12 16:26 qike 阅读(156) 评论(0) 推荐(0)
摘要:#define SYSTEM_VERSION_GREATER_THAN_OR_EQUAL_TO(v) ([[[UIDevice currentDevice] systemVersion] compare:v options:NSNumericSearch] != NSOrderedAscending 阅读全文
posted @ 2016-04-07 18:12 qike 阅读(175) 评论(0) 推荐(0)
摘要:http://stackoverflow.com/questions/34552441/how-to-manage-personal-team-info-on-apple-developer-website Ever since WWDC 2015, developers now have a Pe 阅读全文
posted @ 2016-03-16 20:27 qike 阅读(258) 评论(0) 推荐(0)
摘要:This tool can extract a .car archive: https://github.com/steventroughtonsmith/cartoolSteps to extract archive:Once you've downloaded the zip from gith 阅读全文
posted @ 2016-02-23 09:46 qike 阅读(406) 评论(0) 推荐(0)
摘要:The iOS SDK API for New Relic Mobile requires modification of your project's prefix header. If your project does not have one, follow these steps to a 阅读全文
posted @ 2016-02-23 09:42 qike 阅读(233) 评论(0) 推荐(0)
摘要:Immutable dictionaries can be defined using the literal @{} syntax. But, like array literals, this was added relatively recently, so you should also b 阅读全文
posted @ 2015-07-23 17:48 qike 阅读(155) 评论(0) 推荐(0)
摘要:https://guides.cocoapods.org/using/using-cocoapods.html <Adding Pods to an Xcode project Before you begin <Installation Create a Podfile, and add your 阅读全文
posted @ 2015-07-17 11:14 qike 阅读(247) 评论(0) 推荐(0)
摘要:By: Andy Obusek http://engineering.aweber.com/improving-ios-unit-tests-with-ocmock/ OCMock's website: http://ocmock.org/ CocoaPod: https://github.com/ 阅读全文
posted @ 2015-07-17 10:47 qike 阅读(200) 评论(0) 推荐(0)
摘要:if ((scrollView.contentOffset.y + scrollView.frame.size.height) >= scrollView.contentSize.height) { if (!self.isLoadingMoreData) { self.isLoadingMoreD 阅读全文
posted @ 2015-07-16 16:42 qike 阅读(169) 评论(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 阅读(388) 评论(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 阅读(139) 评论(0) 推荐(0)
摘要:- (void)drawRect:(CGRect)rect { CGFloat lineWidth = 2; CGRect borderRect = CGRectMake(self.frame.size.width/2, self.frame.size.height - 20, 10.0, 10.0 阅读全文
posted @ 2015-07-15 09:36 qike 阅读(202) 评论(0) 推荐(0)
摘要:This letter serves as notice of termination of the Apple Developer Program License Agreement (the “ADP Agreement”) and the Registered Apple Developer 阅读全文
posted @ 2015-07-14 13:50 qike 阅读(2541) 评论(0) 推荐(1)
摘要:http://www.bluecloudsolutions.com/blog/app-store-keywords-choose-terms/# KEYWORDS Here are some helpful tips in picking keywords for your app: The key 阅读全文
posted @ 2015-07-10 09:33 qike 阅读(411) 评论(0) 推荐(0)