1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- //
- // StepImageView.h
- // jiaPei
- //
- // Created by EchoShacolee on 2018/4/25.
- // Copyright © 2018年 JCZ. All rights reserved.
- //
- #import <UIKit/UIKit.h>
- typedef NS_ENUM(NSInteger, ClickStatus) {
- //未激活
- ClickStatuseNormal=0,
- //激活中
- ClickStatusMid,
- //已激活
- ClickStatusHighlighted,
- //已经激活过
- ClickStatusHaveDone
- };
- @interface StepImageView : UIView
- -(instancetype)initWithFrame:(CGRect)frame image:(NSString *)img title:(NSString *)title;
- @property(nonatomic,copy)NSString *title;
- /**
- 状态图片数组
- */
- @property(nonatomic,retain)NSArray *statusImages;
- /**
- 1.不允许选中,灰色;
- 2.不允许选中 微亮;执行任务状态
- 3.允许选中 高亮;
- */
- @property(nonatomic,assign)ClickStatus status;
- /**
- 点击回调
- */
- @property(nonatomic,copy)BlockTypeVo clickBlock;
- @end
|