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