摘要: linker command failed with exit code 1 (use -v to see invocation)报错原因builtSetting下搜索bitco改为NO 阅读全文
posted @ 2015-11-09 11:45 拿起放不下 阅读(148) 评论(0) 推荐(0) 编辑
摘要: -(BOOL) isValidateMobile:(NSString *)mobile{ //手机号以13, 15,18开头,八个 \d 数字字符 NSString *phoneRegex = @"^((13[0-9])|(15[^4,\\D])|(18[0,0-9]))\\d{8}$"; N... 阅读全文
posted @ 2015-11-08 21:20 拿起放不下 阅读(1432) 评论(0) 推荐(0) 编辑
摘要: #pragma mark - 显示超过11位不让输入- (BOOL)textField:(UITextField *)textField shouldChangeCharactersInRange:(NSRange)range replacementString:(NSString *)string... 阅读全文
posted @ 2015-11-08 20:30 拿起放不下 阅读(151) 评论(0) 推荐(0) 编辑
摘要: #pragma mark - 显示超过11位不让输入- (BOOL)textField:(UITextField *)textField shouldChangeCharactersInRange:(NSRange)range replacementString:(NSString *)string... 阅读全文
posted @ 2015-11-08 17:19 拿起放不下 阅读(344) 评论(0) 推荐(0) 编辑
摘要: //按钮边框宽度 [_numberButton.layer setBorderColor:[UIColor colorWithRed:28/255.0 green:162/255.0 blue:66/255.0 alpha:1].CGColor]; [_numberButton.layer se... 阅读全文
posted @ 2015-11-08 16:05 拿起放不下 阅读(992) 评论(0) 推荐(0) 编辑
摘要: NSMutableAttributedString * string = [[NSMutableAttributedString alloc] initWithString:@"立即注册"]; NSRange strRange = {0,[string length]}; [string a... 阅读全文
posted @ 2015-11-08 15:12 拿起放不下 阅读(265) 评论(0) 推荐(0) 编辑
摘要: //调用的方法名为array[1] SEL sel = NSSelectorFromString(array[1]); [self performSelector:sel];// 警告为自动内存管理产生 阅读全文
posted @ 2015-11-03 10:40 拿起放不下 阅读(301) 评论(0) 推荐(0) 编辑
摘要: //Xcode6.3以后label自适应需要添加两个属性 _tableView.rowHeight = UITableViewAutomaticDimension; //给予预计行高 _tableView.estimatedRowHeight = 44; 阅读全文
posted @ 2015-10-29 11:39 拿起放不下 阅读(200) 评论(0) 推荐(0) 编辑
摘要: #import "ViewController.h"@interface ViewController ()@property(nonatomic,strong)UITableView * tableVIew;@property(nonatomic,strong)UIImageView * head... 阅读全文
posted @ 2015-10-29 10:05 拿起放不下 阅读(462) 评论(0) 推荐(0) 编辑
摘要: sha加密原理Algorithm)又叫安全哈希加密技术,是当今世界最先近的加密算法。主要用于文件身份识别、数字签名和口令加密等。对于明文信息A,通过SHA1算法,生成一条160位长的识别码B。且明文信息A和识别码B之间同时满足以下条件:1、对于任意两条不同的明文信息A1、A2,其识别码B1、B2都不... 阅读全文
posted @ 2015-10-27 21:58 拿起放不下 阅读(6503) 评论(0) 推荐(0) 编辑