上一页 1 ··· 4 5 6 7 8 9 10 11 下一页
  2014年12月25日
摘要: 1.下载地址:很多时候,为了快速开发,很多的技术文档都是能省则省,这个时候注释就变得异常重要,再配合Doxygen这种注释自动生成文档的,就完美了。但是每次都要手动输入规范化的注释,着实也麻烦,但有了VVDocumenter,规范化的注释,主需要输入三个斜线“///”,就OK啦!(VVDocumen... 阅读全文
posted @ 2014-12-25 14:20 助金 阅读(309) 评论(0) 推荐(0)
  2014年12月23日
摘要: 添加自定义Dismiss类;// Dismiss.h// StoryBoardTest//// Created by zhujin on 14/12/23.// Copyright (c) 2014年 zhujin. All rights reserved.//#import @interface ... 阅读全文
posted @ 2014-12-23 18:14 助金 阅读(304) 评论(0) 推荐(0)
  2014年12月4日
摘要: - (void)application:(UIApplication *)application didChangeStatusBarFrame:(CGRect)oldStatusBarFrame{ float height = application.statusBarFrame.siz... 阅读全文
posted @ 2014-12-04 10:24 助金 阅读(218) 评论(0) 推荐(0)
  2014年12月3日
摘要: NSDecimalNumber *d1 = [NSDecimalNumber decimalNumberWithString:@"3.14"]; NSDecimalNumber *d2 = [NSDecimalNumber decimalNumberWithString:@"2"]; NSDe... 阅读全文
posted @ 2014-12-03 16:42 助金 阅读(931) 评论(0) 推荐(0)
  2014年11月14日
摘要: 要统计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) 推荐(0)
  2014年11月7日
摘要: - (void)webViewDidFinishLoad:(UIWebView *)webView{ [webView stringByEvaluatingJavaScriptFromString: @"var script = document.createElement('script');... 阅读全文
posted @ 2014-11-07 15:24 助金 阅读(772) 评论(0) 推荐(0)
  2014年11月4日
摘要: NSMutableAttributedString * attributedString1 = [[NSMutableAttributedString alloc] initWithString:testString];NSMutableParagraphStyle * paragraphStyle... 阅读全文
posted @ 2014-11-04 09:36 助金 阅读(162) 评论(0) 推荐(0)
  2014年10月15日
摘要: printf格式输出:%[flags][width][.perc][F|N|h|l]type用到了flags中的 0 (注意是零不是欧) ,其百科描述为:将输出的前面补上0,直到占满指定列宽为止(不可以搭配使用-)width 即表示需要输出的位数。inta=4;printf("%03d",a);输出... 阅读全文
posted @ 2014-10-15 15:12 助金 阅读(232) 评论(0) 推荐(0)
  2014年10月10日
摘要: ios简单的方法:[UIDevice currentDevice].batteryMonitoringEnabled = YES;doubledeviceLevel = [UIDevice currentDevice].batteryLevel;获取当前剩余电量, 我们通常采用上述方法。这也是苹果官... 阅读全文
posted @ 2014-10-10 14:50 助金 阅读(821) 评论(0) 推荐(0)
摘要: 直接读取状态栏上信息获取网络状态-可以扩展获取电量运营商等信息-(NSString *)getNetWorkStates{ UIApplication *app = [UIApplication sharedApplication]; NSArray *children = [[[app val... 阅读全文
posted @ 2014-10-10 11:34 助金 阅读(216) 评论(0) 推荐(0)
上一页 1 ··· 4 5 6 7 8 9 10 11 下一页