ios统计代码行数
摘要:要统计ios开发代码,包括头文件的,终端命令进入项目目录下,命令如下列出每个文件的行数:find.-name"*.m"-or-name"*.h"-or-name"*.xib"-or-name"*.c"|xargswc-l 列出代码行数总和:find.-name"*.m"-or-name"*.h"-o...
阅读全文
posted @
2014-11-14 17:20
助金
阅读(243)
推荐(0)
计算webView的 高度 和自适应屏幕大小
摘要:- (void)webViewDidFinishLoad:(UIWebView *)webView{ [webView stringByEvaluatingJavaScriptFromString: @"var script = document.createElement('script');...
阅读全文
posted @
2014-11-07 15:24
助金
阅读(771)
推荐(0)
label 行距
摘要:NSMutableAttributedString * attributedString1 = [[NSMutableAttributedString alloc] initWithString:testString];NSMutableParagraphStyle * paragraphStyle...
阅读全文
posted @
2014-11-04 09:36
助金
阅读(162)
推荐(0)