记录专用

github oc 今日热门
https://github.com/trending?l=objective-c

//
创建缓存文件夹 + (BOOL) createDirInCache:(NSString *)dirName { NSString *dirPath = [self pathInCacheDirectory:dirName]; BOOL isDir = NO; NSFileManager *fileManager = [NSFileManager defaultManager]; BOOL existed = [fileManager fileExistsAtPath:dirPath isDirectory:&isDir]; BOOL isCreated = NO; if ( !(isDir == YES && existed == YES) ) { isCreated = [fileManager createDirectoryAtPath:dirPath withIntermediateDirectories:YES attributes:nil error:nil]; } if (existed) { isCreated = YES; } return isCreated; }

 

 

 

pod install 提速

pod install --no-repo-update --verbose

 iOS9网络适配加入字段

NSAppTransportSecurity

NSAllowsArbitraryLoads

 pch位置

$(SRCROOT)/test.pch

mrc编译

-fno-objc-arc

 左右滚动label

MarqueeLabel

 

 新界面指导,引导用户尽快知道新功能在哪里

https://github.com/ephread/Instructions

 

安卓资源收藏:http://dcloud.io/hellomui/

 

定义 动画时间时

static const NSTimeInterval showOrHideCountryView = 0.3;/**< 显示与隐藏区域选择view的动画时长 */

 

你可能感兴趣的:(记录专用)