ICRQuestionBaseViewController.h 992 Bytes
Newer Older
mei's avatar
mei committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
//
//  ICRQuestionBaseViewController.h
//  XFFruit
//
//  Created by Xummer on 15/6/2.
//  Copyright (c) 2015年 Xummer. All rights reserved.
//

#import "ICRBaseViewController.h"
#import "ICRQuestionHelperView.h"
#import "ICRQuestion.h"

#import "ICRAnswer.h"
#import "ICRAnswerDetail.h"

@interface ICRQuestionBaseViewController : ICRBaseViewController
@property (strong, nonatomic) ICRQuestion *m_question;
@property (strong, nonatomic) ICRAnswer *m_answer;
@property (strong, nonatomic) ICRQuestionHelperView *m_helperView;
@property (strong, nonatomic) NSArray *m_arrOptions;
@property (assign, nonatomic) NSUInteger m_uiIndex;
@property (strong, nonatomic) UIScrollView *m_contentScrollView;
@property (strong, nonatomic) IBTUILabel *m_titleLabel;

- (instancetype)initWithQuestion:(ICRQuestion *)question answer:(ICRAnswer *)answer;

- (void)initScrollViewWithRect:(CGRect)rect;

- (void)onNextBtnAction:(__unused id)sender;

- (void)setupDefaultAnswer;

- (void)openResultView;

@end