RegisterCmdClsViewController.h 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. //
  2. // RegisterCmdClsViewController.h
  3. // kneet
  4. //
  5. // Created by Jason Lee on 5/22/15.
  6. // Copyright (c) 2015 ntels. All rights reserved.
  7. //
  8. #import "JDViewController.h"
  9. @class ItemModel;
  10. @interface RegisterCmdClsViewController : JDViewController
  11. #pragma mark - Properties
  12. @property (strong, nonatomic) ItemModel *tmpItem;
  13. @property (weak, nonatomic) IBOutlet UITableView *tableView;
  14. @property (weak, nonatomic) IBOutlet CustomButton *btnSelect;
  15. @property (weak, nonatomic) IBOutlet CustomButton *btnCancel;
  16. #pragma mark - Instance Methods
  17. - (IBAction)btnSelectTouched:(id)sender;
  18. - (IBAction)btnCancelTouched:(id)sender;
  19. @end
  20. @class CustomButton;
  21. @interface RegisterCmdClsCollectionView : UICollectionView
  22. @property (nonatomic, strong) NSIndexPath *indexPath;
  23. @end
  24. @interface RegisterCmdClsTableViewCell : UITableViewCell
  25. @property (weak, nonatomic) IBOutlet RegisterCmdClsCollectionView *collectionView;
  26. - (void)setCollectionViewDataSourceDelegate:(id<UICollectionViewDataSource, UICollectionViewDelegate>)dataSourceDelegate indexPath:(NSIndexPath *)indexPath;
  27. @end
  28. @class CustomTopLabel;
  29. @interface RegisterCmdClsCollectionViewCell : UICollectionViewCell
  30. @property (strong, nonatomic) IBOutlet CustomButton *btnItem;
  31. @property (strong, nonatomic) IBOutlet CustomTopLabel *lblItem;
  32. @property (weak, nonatomic) IBOutlet NSLayoutConstraint *constraintBtnItemWidth;
  33. @property (weak, nonatomic) IBOutlet NSLayoutConstraint *constraintBtnItemHeight;
  34. @end