//
//  JDViewController.h
//  kneet2
//
//  Created by Created by Jason Lee on 10/1/15.
//  Copyright (c) 2015 ntels. All rights reserved.
//
#import "JDObject.h"
#import "KNTableViewCell.h"

@class CustomTableView;

@interface JDViewController : UIViewController {
    
@protected
    NSMutableArray *_popooverOptionArray;
    __weak UIView *_mainView;
}


#pragma mark - Properties
@property (weak, nonatomic) IBOutlet UIView *mainView;

#pragma mark - Instance Methods
- (void)initTableViewAsDefaultStyle:(CustomTableView *)tableView;


- (UIButton *)generateOptionButton;

- (void)toggleOptions:(id)sender;
- (void)resetOptions;
- (void)dismissOptionPopOver:(void (^)(void))completion;

//table view
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath;

@end
