// // TempViewController.h // jiaPei // // Created by 张嵘 on 2019/8/27. // Copyright © 2019 JCZ. All rights reserved. // #import NS_ASSUME_NONNULL_BEGIN @class QuesTionItem; @protocol TempViewControllerDelegate @optional /** 保存答题记录 @param item 题目 @param right 对错 */ - (void)saveTheAnswerRecordActionWithQuesTionItem:(QuesTionItem *_Nullable)item isRight:(NSInteger)right; @end @interface TempViewController : UIViewController @property (nonatomic, readwrite, strong) QuesTionItem * _Nullable model; @property (nonatomic, readwrite, assign) int index; ///<目前是第几道题 @property (nonatomic, readwrite, weak, nullable) id delegate; @property (nonatomic, readwrite, assign) BOOL showAnswer;///<1背题模式 @end NS_ASSUME_NONNULL_END