JTOptionsViewController.h 843 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
//
//  JTOptionsViewController.h
//  JobTalk
//
//  Created by Xummer on 14-5-22.
//  Copyright (c) 2014年 BST. All rights reserved.
//

#import "ICRBaseViewController.h"
#import "JTOptionsEntity.h"

@class JTOptionsViewController;
@protocol JTOptionsDelegate <NSObject>

@optional

// From Cell
- (void)optionsViewController:(JTOptionsViewController *)optionVC didChangedSelectedOptions:(JTOptionsEntity *)options atBaseIndexPath:(NSIndexPath *)indexP;

// From Other
- (void)optionsViewController:(JTOptionsViewController *)optionVC didChangedSelectedOptions:(JTOptionsEntity *)options;

@end

@interface JTOptionsViewController : ICRBaseViewController
@property (weak, nonatomic) id <JTOptionsDelegate> optionsDelegate;
@property (strong, nonatomic) NSIndexPath *baseCellIndexPath;

- (id)initWithOptions:(JTOptionsEntity *)options;

@end