1
This commit is contained in:
@@ -10,9 +10,8 @@
|
||||
#import "KBFont.h"
|
||||
|
||||
@interface KBFunctionPasteView ()
|
||||
@property (nonatomic, strong) UIImageView *iconViewInternal;
|
||||
@property (nonatomic, strong) UILabel *placeholderLabelInternal;
|
||||
@property (nonatomic, strong) UIButton *pasBtn;
|
||||
//@property (nonatomic, strong) UIImageView *iconViewInternal;
|
||||
//@property (nonatomic, strong) UILabel *placeholderLabelInternal;
|
||||
|
||||
@end
|
||||
|
||||
@@ -48,25 +47,25 @@
|
||||
}
|
||||
|
||||
#pragma mark - Lazy
|
||||
|
||||
- (UIImageView *)iconViewInternal {
|
||||
if (!_iconViewInternal) {
|
||||
_iconViewInternal = [[UIImageView alloc] init];
|
||||
_iconViewInternal.image = [UIImage imageNamed:@"kb_zt_icon"];
|
||||
}
|
||||
return _iconViewInternal;
|
||||
}
|
||||
|
||||
- (UILabel *)placeholderLabelInternal {
|
||||
if (!_placeholderLabelInternal) {
|
||||
_placeholderLabelInternal = [[UILabel alloc] init];
|
||||
// 文案改为更贴近设计稿
|
||||
_placeholderLabelInternal.text = KBLocalized(@"Paste Ta's Words");
|
||||
_placeholderLabelInternal.textColor = [UIColor colorWithRed:0.20 green:0.64 blue:0.54 alpha:1.0];
|
||||
_placeholderLabelInternal.font = [UIFont systemFontOfSize:16 weight:UIFontWeightMedium];
|
||||
}
|
||||
return _placeholderLabelInternal;
|
||||
}
|
||||
//
|
||||
//- (UIImageView *)iconViewInternal {
|
||||
// if (!_iconViewInternal) {
|
||||
// _iconViewInternal = [[UIImageView alloc] init];
|
||||
// _iconViewInternal.image = [UIImage imageNamed:@"kb_zt_icon"];
|
||||
// }
|
||||
// return _iconViewInternal;
|
||||
//}
|
||||
//
|
||||
//- (UILabel *)placeholderLabelInternal {
|
||||
// if (!_placeholderLabelInternal) {
|
||||
// _placeholderLabelInternal = [[UILabel alloc] init];
|
||||
// // 文案改为更贴近设计稿
|
||||
// _placeholderLabelInternal.text = KBLocalized(@"Paste Ta's Words");
|
||||
// _placeholderLabelInternal.textColor = [UIColor colorWithRed:0.20 green:0.64 blue:0.54 alpha:1.0];
|
||||
// _placeholderLabelInternal.font = [UIFont systemFontOfSize:16 weight:UIFontWeightMedium];
|
||||
// }
|
||||
// return _placeholderLabelInternal;
|
||||
//}
|
||||
|
||||
- (UIButton *)pasBtn{
|
||||
if (!_pasBtn) {
|
||||
@@ -82,7 +81,7 @@
|
||||
|
||||
#pragma mark - Expose
|
||||
|
||||
- (UIImageView *)iconView { return self.iconViewInternal; }
|
||||
- (UILabel *)placeholderLabel { return self.placeholderLabelInternal; }
|
||||
//- (UIImageView *)iconView { return self.iconViewInternal; }
|
||||
//- (UILabel *)placeholderLabel { return self.placeholderLabelInternal; }
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user