1234567891011121314151617181920212223242526272829303132333435 |
- //
- // CustomInfoView.h
- // mask
- //
- // Created by 翟玉磊 on 2018/11/21.
- // Copyright © 2018 翟玉磊. All rights reserved.
- //
- #import "BaseView.h"
- NS_ASSUME_NONNULL_BEGIN
- @interface CustomInfoView : BaseView
- @property (nonatomic, readwrite, strong) UILabel *titleLabel;
- @property (nonatomic, readwrite, strong) UITextField *textField;
- @property (nonatomic, readwrite, strong) UIImageView *moreImageView;
- @property (nonatomic, copy) NSString *title; //标题
- @property (nonatomic, readwrite, copy) NSString *placeholder; //默认提示文
- @property (nonatomic, strong) UIFont *font; //标题字体
- @property (nonatomic, strong) UIColor *titleColor;
- @property (nonatomic, strong) UIImage *moreImag; //设置更多按钮的图片
- /// 是否可以点击 YES可点击(按钮显示) 默认可点击(不能输入)
- @property (nonatomic) BOOL isClick;
- @property (nonatomic) BOOL isShowMoreImage; //是否显示更多图标 默认NO不显示
- @property (nonatomic) BOOL isShowTopLine; //是否显示顶部分割线 默认隐藏
- @property (nonatomic) BOOL isShowBottomLine; //是否显示底部分割线 默认显示
- //添加按钮的两种方式 在添加按钮点击方法时已经默认为可以点击(显示按钮)
- - (void)addTarget:(id)target action:(SEL)action forControlEvents:(UIControlEvents)controlEvents;
- @end
- NS_ASSUME_NONNULL_END
|