- 博客(3)
- 收藏
- 关注
原创 自定义switch
//.h #import @protocol switchView - (void)passwordIsVisibleWithBool:(BOOL)secureTextEntry; @end @interface switchView : UIView @property (nonatomic, strong) UIVi
2016-08-21 11:31:47
178
原创 修改后的自适应高度
//创建一个自适应高度的lable - (void)creatLableWithLable:(UILabel *)lable string:(NSString *)string color:(UIColor *)color size:(CGFloat)size frame:(CGRect)frame{ lable = [[UILabel alloc] initWi
2016-08-08 16:12:50
125
原创 lable等动态适应多行字符串的高度
动态适应多行字符串的宽、高度: UIFont * font = [UIFont fontWithName:@"HelveticaNeue" size:20]; CGSize size = [@"agaergea" sizeWithAttributes:[NSDictionary dictionaryWithObject:font forKey:NSFontAttribute
2016-08-08 14:11:04
108
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人