ActionPopTableView.h 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. //
  2. // ActionPopTableView.h
  3. // kneet
  4. //
  5. // Created by Jason Lee on 5/15/15.
  6. // Copyright (c) 2015 ntels. All rights reserved.
  7. //
  8. @import UIKit;
  9. #import "ItemModel.h"
  10. #import "CustomAlertView.h"
  11. @protocol ActionPopTableViewDelegate <NSObject>
  12. @optional
  13. - (void)didSelectAction:(ItemModel *)action;
  14. @end
  15. @interface ActionPopTableView : CustomAlertView
  16. @property (assign, nonatomic) BOOL isRuleMode;
  17. @property (weak, nonatomic) id <ActionPopTableViewDelegate> delegate;
  18. @property (strong, nonatomic) NSArray<ItemModel> *actions;
  19. @property (weak, nonatomic) IBOutlet UITableView *tableView;
  20. @property (weak, nonatomic) IBOutlet NSLayoutConstraint *tableViewHeightConstraint;
  21. - (id)initFromNib;
  22. //- (void)resetAction:(ItemModel *)action;
  23. @end
  24. @class CustomLabel;
  25. @class CustomButton;
  26. @interface ActionPopTableViewCell : UITableViewCell
  27. @property (weak, nonatomic) IBOutlet CustomButton *btnSelect;
  28. @property (weak, nonatomic) IBOutlet CustomLabel *lblActionName;
  29. @property (weak, nonatomic) IBOutlet CustomLabel *lblActionCount;
  30. @end