ExerView.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. /**
  2. 点击事件也不一样啊。如果是多选。点击后。是先变灰。点提交才确定。
  3. 确定按钮。平时一直在最上层。只是隐藏了。
  4. */
  5. //本页面是题目选项页面
  6. #import <UIKit/UIKit.h>
  7. #import "Question.h"
  8. #import "CLButton.h"
  9. #import "RandomAD.h"
  10. @protocol ExerViewDelegate;
  11. @interface ExerView : UIScrollView<UITableViewDataSource,UITableViewDelegate>
  12. @property (nonatomic, readwrite, strong) RQYDTQuestionModel *ydtQuestionModel;
  13. @property(nonatomic,strong)Question* question;
  14. /**在设置quetion之后,要设置答案.0表示未答题,1-4表示答案A-D
  15. */
  16. @property(nonatomic,assign) NSInteger answer;
  17. @property(nonatomic,assign) NSInteger index;
  18. @property (nonatomic, readwrite, copy) NSArray* questions;
  19. @property(nonatomic,assign) BOOL showAnswer;
  20. /**用于回传ABCD点击事件
  21. */
  22. @property(nonatomic,assign)id<ExerViewDelegate> delegate2;
  23. -(void)playMovie;
  24. -(void)stopMovie;
  25. -(void)setNightMode:(BOOL)isNight;
  26. @end
  27. @protocol ExerViewDelegate <NSObject>
  28. -(void)didChooseOption:(NSInteger)opt isRight:(BOOL)isRig;
  29. -(void)gotoAllCommentVC;
  30. @end