LearningCompleteViewController.h 1.05 KB
Newer Older
1 2 3 4 5 6 7 8 9 10
//
//  LearningCompleteViewController.h
//  Lighting
//
//  Created by 曹云霄 on 2016/11/28.
//  Copyright © 2016年 上海勾芒科技有限公司. All rights reserved.
//

#import "BaseViewController.h"

11 12 13 14

/**
 考核
 */
15 16
@protocol BeginAssessmentDelegate <NSObject>

17 18 19 20 21 22 23
/**
 考核

 @param studyEntity 数据源
 @param indexPath   学习项下标
 */
- (void)beginAssessment:(CustomStudyEntity *)studyEntity withIndexPath:(NSIndexPath *)indexPath;
24 25 26 27

@end


28 29
@interface LearningCompleteViewController : BaseViewController

30 31
@property (nonatomic,weak) id<BeginAssessmentDelegate>delegate;

32 33 34 35 36 37 38 39 40 41
/**
 开始考核
 */
@property (weak, nonatomic) IBOutlet UIButton *beginAssessmentButton;

/**
 考核按钮
 */
@property (nonatomic,assign) BOOL isHidden;

42 43 44 45 46 47

/**
 获得积分
 */
@property (weak, nonatomic) IBOutlet UILabel *obtainIntegralLabel;

48 49 50 51 52
/**
 数据源
 */
@property (nonatomic,strong) CustomStudyEntity *studyEntity;

53 54 55 56 57
/**
 积分
 */
@property (nonatomic,assign) NSString *integralString;

58 59 60 61 62
/**
 学习项下标
 */
@property (nonatomic,strong) NSIndexPath *indexPath;

63

64
@end