2016年1月7日
摘要: 开源地址:https://github.com/qfish/XAlign/一、解压commad+b运行后关闭xcode二、在终端输入:defaults read /Applications/Xcode.app/Contents/Info DVTPlugInCompatibilityUUID 查找xc... 阅读全文
posted @ 2016-01-07 11:47 墓厄 阅读(277) 评论(0) 推荐(0) 编辑
摘要: 项目地址:https://github.com/onevcat/VVDocumenter-Xcode第一步:下载项目Clone该项目:plug-in,运行该项目后将其关闭;第二步:终端执行在终端先执行 defaults read /Applications/Xcode.app/Contents/In... 阅读全文
posted @ 2016-01-07 11:34 墓厄 阅读(255) 评论(0) 推荐(0) 编辑
  2015年12月30日
摘要: 安装mysql配置环境1.sudo vi ~/bash_profile2.输入i3.编辑入下面内容:# mysqlalias mysql='/usr/local/mysql/bin/mysql'alias mysqladmin='/usr/local/mysql/bin/mysqladmin'# l... 阅读全文
posted @ 2015-12-30 11:28 墓厄 阅读(551) 评论(0) 推荐(0) 编辑
  2015年11月9日
摘要: #import //DmLog-----------------------------#define DmLog_TYPE_1 1 //日志打印 1:开/0:关#define __DmLOGWITHFUNCTION(s, ...) \NSLog... 阅读全文
posted @ 2015-11-09 12:14 墓厄 阅读(224) 评论(0) 推荐(0) 编辑
摘要: #import #define __BASE64( text ) [CommonFunc base64StringFromText:text]#define __TEXT( base64 ) [CommonFunc textFromBase64String:base64]... 阅读全文
posted @ 2015-11-09 12:13 墓厄 阅读(419) 评论(0) 推荐(0) 编辑
摘要: #import @interface CJMD5 : NSObject+(NSString *)md5HexDigest:(NSString *)input;@end#import "CJMD5.h"#import @implementation CJMD5+ (NSString *)md5HexD... 阅读全文
posted @ 2015-11-09 12:12 墓厄 阅读(176) 评论(0) 推荐(0) 编辑
摘要: #import @interface DictJsonString : NSObject+ (NSDictionary *)dictionaryWithJsonString:(NSString *)jsonString;+ (NSArray *)arrayWithJsonString:(NSStri... 阅读全文
posted @ 2015-11-09 12:11 墓厄 阅读(909) 评论(0) 推荐(0) 编辑
摘要: //将阿拉伯数字转换成中文数字 1 变 一- (NSString *)translationArabicNum:(NSInteger)arabicNum{ NSString *arabicNumStr = [NSString stringWithFormat:@"%ld",(long)ara... 阅读全文
posted @ 2015-11-09 12:08 墓厄 阅读(610) 评论(0) 推荐(0) 编辑
摘要: #import @interface ViewController : UIViewController@property (weak, nonatomic) IBOutlet UILabel *money;@end#import "ViewController.h"#import "DrawVie... 阅读全文
posted @ 2015-11-09 12:05 墓厄 阅读(452) 评论(0) 推荐(0) 编辑
  2015年9月16日
摘要: 背景色差,产生原因是如果单纯的设置背景颜色也是有高斯模糊处理的效果,对纯色高斯模糊处理过后相当于纯色的70%(猜测)透明化处理,但是反正就是有色差啦。解决方法一:通过图片方法[self.navigationController.navigationBar setBackgroundImage:[UI... 阅读全文
posted @ 2015-09-16 11:03 墓厄 阅读(634) 评论(0) 推荐(0) 编辑