IOS_冷小贱
冷小贱_JT
做自己喜欢的!
展开
-
UILabel 行间距
欢迎吐槽原创 2015-06-02 18:31:23 · 314 阅读 · 0 评论 -
IOS 动画之加载图片
UIImageView *imageView = [[UIImageView alloc]initWithFrame:CGRectMake(50, 100, 100, 100)]; NSMutableArray * animateArray = [[NSMutableArray alloc]initWithCapacity:20]; //加载图片 [animateAr原创 2015-01-26 14:40:34 · 293 阅读 · 0 评论 -
代码规范
属性特性 所有属性特性应该显式地列出来,有助于新手阅读代码。属性特性的顺序应该是storage、atomicity,与在Interface Builder连接UI元素时自动生成代码一致。 这样写: @property (weak, nonatomic) IBOutlet UIView *containerView; @property (strong, nonatomi原创 2015-06-03 20:50:17 · 201 阅读 · 0 评论 -
IOS 判断手机号 身份证号
.h @interface HNSPredicate : NSObject //邮箱验证 + (BOOL) validateEmail:(NSString *)email; //手机号码验证 + (BOOL) validateMobile:(NSString *)mobile; //用户名 + (BOOL) validateUserName:(NSString *)name;原创 2015-06-02 17:28:42 · 271 阅读 · 0 评论 -
技术博客
学习原创 2015-10-10 11:55:51 · 219 阅读 · 0 评论