| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475 |
- //
- // RulesDetailViewController.h
- // kneet
- //
- // Created by Jason Lee on 3/18/15.
- // Copyright (c) 2015 ntels. All rights reserved.
- //
- #import "JDViewController.h"
- #import "RulesRegisterViewController.h"
- @class RuleModel;
- @interface RulesDetailViewController : JDViewController
- #pragma mark - Properties
- @property (strong, nonatomic) RuleModel *rule;
- @property (weak, nonatomic) IBOutlet UITableView *tableView;
- @property (weak, nonatomic) IBOutlet CustomButton *btnEdit;
- @property (weak, nonatomic) IBOutlet CustomButton *btnDelete;
- @property (weak, nonatomic) IBOutlet NSLayoutConstraint *constraintActionTabHeight;
- #pragma mark - Instance Methods
- - (IBAction)btnEditTouched:(id)sender;
- - (IBAction)btnDeleteTouched:(id)sender;
- + (void)cloneSubItemsForItemSubType:(NSArray<ItemModel> *)items conditions:(NSArray<ItemModel> *)conditions;
- //+ (void)fillCell:(RulesDetailTableViewCell *)cell withRuleItem:(ItemModel *)item;
- //+ (CGFloat)heightForSubItems:(ItemModel *)item;
- @end
- @class CustomLabel;
- @class CustomImageView;
- @class CustomTextView;
- @interface RulesDetailTitleViewCell : UITableViewCell
- @property (weak, nonatomic) IBOutlet CustomLabel *lblRuleTitle;
- @property (weak, nonatomic) IBOutlet CustomLabel *lblRuleOwner;
- @end
- @interface RulesDetailTableViewCell : RulesCreateTableViewCell
- //@property (weak, nonatomic) IBOutlet CustomImageView *imgvItem;
- //@property (weak, nonatomic) IBOutlet CustomLabel *lblItemName;
- //@property (weak, nonatomic) IBOutlet CustomLabel *lblSubItems;
- //
- //@property (weak, nonatomic) IBOutlet CustomImageView *imgvBg;
- //@property (weak, nonatomic) IBOutlet NSLayoutConstraint *constraintImgvBgHeight;
- //
- //@property (weak, nonatomic) IBOutlet UIView *lineview;
- @end
- @class CustomButton;
- @interface RulesDetailActivationViewCell : UITableViewCell
- @property (weak, nonatomic) IBOutlet CustomLabel *lblRunTitle;
- @property (weak, nonatomic) IBOutlet CustomButton *btnRun;
- @end
- @interface RulesDetailDisableViewCell : UITableViewCell
- @property (weak, nonatomic) IBOutlet CustomLabel *lblDesc;
- @end
|