//
//  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
