JDViewController.h 900 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. //
  2. // JDViewController.h
  3. // kneet2
  4. //
  5. // Created by Created by Jason Lee on 10/1/15.
  6. // Copyright (c) 2015 ntels. All rights reserved.
  7. //
  8. #import "JDObject.h"
  9. #import "KNTableViewCell.h"
  10. #import "KNView.h"
  11. @class CustomTableView;
  12. @interface JDViewController : UIViewController {
  13. @protected
  14. NSMutableArray *_popooverOptionArray;
  15. __weak UIView *_mainView;
  16. }
  17. #pragma mark - Properties
  18. @property (weak, nonatomic) IBOutlet UIView *mainView;
  19. #pragma mark - Instance Methods
  20. - (void)initTableViewAsDefaultStyle:(CustomTableView *)tableView;
  21. - (UIButton *)generateOptionButton;
  22. - (void)toggleOptionsWithArray:(id)sender btnArray:(NSMutableArray *)btnArray;
  23. - (void)toggleOptions:(id)sender;
  24. - (void)resetOptions;
  25. - (void)dismissOptionPopOver:(void (^)(void))completion;
  26. //table view
  27. - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath;
  28. @end