- 博客(2)
- 资源 (7)
- 收藏
- 关注
原创 给UILabel增加两端对齐能力
使用类别的方式给UILabel增加两端对齐能力1).h文件#import @interface UILabel (Alignment)//两端对齐- (void)textAlignmentLeftAndRight;//指定Label的width两端对齐- (void)textAlignmentLeftAndRightWith:(CGFlo
2016-12-29 10:25:04 3793 1
原创 中英文字符计算
//按照中文两个字符,英文数字一个字符计算字符数-(NSUInteger)unicodeLengthOfString:(NSString *)text { NSUInteger asciiLength =0; for (NSUInteger i =0; i length; i++) { unichar uc = [textcharacterAt
2016-12-02 09:48:07 2635 1
MBProgressHUD加载等待类文件
2011-08-06
object-c初学者中文教程
2011-05-02
Android开发指南中文版
2010-09-10
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人