09 2014 档案

摘要:button.exclusiveTouch = YES; 阅读全文
posted @ 2014-09-28 10:28 回读(IOS) 阅读(253) 评论(0) 推荐(0)
摘要:http://blog.sina.com.cn/s/blog_6f29e81f0101qwbk.html【问题描述】今天请求服务器返回的字段中含有空格,这空格是服务器开发人员不小心往数据中多敲了,所以在客户端需要把字符串中的空格过滤掉。【问题分析】1、使用NSString中的stringByTrim... 阅读全文
posted @ 2014-09-26 15:40 回读(IOS) 阅读(799) 评论(0) 推荐(0)
摘要:/** * 将UIColor变换为UIImage * **/+ (UIImage *)createImageWithColor:(UIColor *)color{ CGRect rect = CGRectMake(0.0f, 0.0f, 1.0f, 1.0f); UIGraphicsBe... 阅读全文
posted @ 2014-09-22 17:57 回读(IOS) 阅读(343) 评论(0) 推荐(0)
摘要:http://blog.csdn.net/heartofthesea/article/details/222893991.将准备好的字体文件加入项目中2.打开Build Phases—Copy Bundle Resources,确保刚添加的字体文件在列表中,否则需要手动加到这里3.编辑”项目名-In... 阅读全文
posted @ 2014-09-15 15:57 回读(IOS) 阅读(270) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2014-09-11 10:25 回读(IOS) 阅读(149) 评论(0) 推荐(0)
摘要:http://blog.csdn.net/dyllove98/article/details/8635079IdentifierValidator.h//// IdentifierValidator.h// 银行卡校验//// Created by 杨梦晓 on 14-9-9.// Copyrigh... 阅读全文
posted @ 2014-09-11 10:18 回读(IOS) 阅读(731) 评论(0) 推荐(0)
摘要:http://www.oschina.net/code/snippet_86738_3128效验是否为银行卡,用于验证现行 16 位银联卡现行卡号开头 6 位是 622126~622925 之间的,7 到 15 位是银行自定义的,可能是发卡分行,发卡网点,发卡序号,第 16 位是校验码。16 位卡号... 阅读全文
posted @ 2014-09-11 09:55 回读(IOS) 阅读(477) 评论(0) 推荐(0)
摘要:在模拟器上跑,图片会显示,而在真机上跑,图片不会显示。原因是真机上区分大小写。 阅读全文
posted @ 2014-09-01 11:04 回读(IOS) 阅读(170) 评论(0) 推荐(0)