add message exercises
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
//
|
||||
// GIGAQuetionView.h
|
||||
// GIGA
|
||||
//
|
||||
// Created by lianxiang on 2018/8/23.
|
||||
// Copyright © 2018年 com.giga.ios. All rights reserved.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
typedef NS_ENUM(NSInteger,GIGAQuetionViewStle)
|
||||
{
|
||||
GIGAQuetionViewStleSingleChoice = 0,//单选
|
||||
GIGAQuetionViewStleMutipleChoice ,//多选
|
||||
GIGAQuetionViewStyleTrueOrFalse,//判断
|
||||
|
||||
};
|
||||
|
||||
@interface GIGAQuetionView : UIView
|
||||
//样式
|
||||
@property (nonatomic,assign,readonly) GIGAQuetionViewStle style;
|
||||
//答案数组
|
||||
@property (nonatomic,strong,readonly) NSArray *answerArr;
|
||||
//选中答案
|
||||
@property (nonatomic, copy, readonly) NSString *selectAnswer;
|
||||
//选中答案角标
|
||||
@property (nonatomic, copy, readonly) NSString *qrnum;
|
||||
//刷新布局
|
||||
- (void)reloadViewWithFrame:(CGRect)frame style:(GIGAQuetionViewStle)style answerArray:(NSArray *)answerArray userAnswers:(NSArray *)userAnswers;
|
||||
|
||||
|
||||
@end
|
||||
Reference in New Issue
Block a user