- 博客(5)
- 资源 (1)
- 收藏
- 关注
原创 iOS统计xcode代码行数
如果要统计ios开发代码,包括头文件的,终端命令进入项目目录下,命令如下find . -name "*.m" -or -name "*.h" -or -name "*.xib" -or -name "*.c" |xargs wc -l 列出每个文件的行数 find . -name "*.m" -or -name "*.h" -or -name "*.xib"
2016-08-26 15:35:17 462
转载 iOS10 权限崩溃
今天 手机升级了 iOS10 Beta,然后用正在开发的项目 装了个ipa包,发现点击有关 权限访问 直接Crash了,并在控制台输出了一些信息:This app has crashed because it attempted to access privacy-sensitive data without a usage description. The app's Info.plist
2016-08-25 16:15:29 276
原创 关于storybord加视图控制器的代码实现方式
非常简单,代码如下- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { // Override point for customization after application launch. UISt
2016-08-22 11:22:32 245
原创 关于Pods written in Swift can only be integrated as frameworks问题的解决
使用cocopods导入第三方库报错 :[!] Pods written in Swift can only be integrated as frameworks; add `use_frameworks!` to your Podfile or target to opt into using it. The Swift Pods being used are: Alamofire and
2016-08-17 18:38:08 1572
原创 ios 去除字符串首尾空格、换行
去除首尾空格:NSString *content = [textView.text stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceCharacterSet]];去除首尾空格和换行:NSString *content = [textView.text stringByTrimmingCharactersInSet:[N
2016-08-05 16:00:46 695
[zip文件] Xcode iOS9.3配置包
2016-04-11
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人