封装KBFont,适配字体
This commit is contained in:
@@ -86,7 +86,7 @@
|
||||
if (!_nameLabel) {
|
||||
_nameLabel = [UILabel new];
|
||||
_nameLabel.textColor = [UIColor colorWithHex:KBBlackValue];
|
||||
_nameLabel.font = [UIFont systemFontOfSize:14 weight:UIFontWeightSemibold];
|
||||
_nameLabel.font = [KBFont medium:13];
|
||||
_nameLabel.text = @"Sdsd666";
|
||||
}
|
||||
return _nameLabel;
|
||||
@@ -114,8 +114,8 @@
|
||||
- (UILabel *)contentLabel {
|
||||
if (!_contentLabel) {
|
||||
_contentLabel = [UILabel new];
|
||||
_contentLabel.textColor = [UIColor colorWithWhite:0.25 alpha:1.0];
|
||||
_contentLabel.font = [UIFont systemFontOfSize:12];
|
||||
_contentLabel.textColor = [UIColor colorWithHex:KBBlackValue];
|
||||
_contentLabel.font = [KBFont regular:10];
|
||||
_contentLabel.numberOfLines = 2;
|
||||
_contentLabel.text = @"I Highly Recommend This App. It Taught Me How To Chat";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user