//
//  RegisterCmdClsViewController.h
//  kneet
//
//  Created by Jason Lee on 5/22/15.
//  Copyright (c) 2015 ntels. All rights reserved.
//

#import "JDViewController.h"
@class ItemModel;

@interface RegisterCmdClsViewController : JDViewController


#pragma mark - Properties
@property (strong, nonatomic) ItemModel *tmpItem;
@property (weak, nonatomic) IBOutlet UITableView *tableView;

@property (weak, nonatomic) IBOutlet CustomButton *btnSelect;
@property (weak, nonatomic) IBOutlet CustomButton *btnCancel;

#pragma mark - Instance Methods
- (IBAction)btnSelectTouched:(id)sender;
- (IBAction)btnCancelTouched:(id)sender;

@end


@class CustomButton;

@interface RegisterCmdClsCollectionView : UICollectionView

@property (nonatomic, strong) NSIndexPath *indexPath;

@end

@interface RegisterCmdClsTableViewCell : UITableViewCell

@property (weak, nonatomic) IBOutlet RegisterCmdClsCollectionView *collectionView;

- (void)setCollectionViewDataSourceDelegate:(id<UICollectionViewDataSource, UICollectionViewDelegate>)dataSourceDelegate indexPath:(NSIndexPath *)indexPath;

@end


@class CustomTopLabel;
@interface RegisterCmdClsCollectionViewCell : UICollectionViewCell

@property (strong, nonatomic) IBOutlet CustomButton *btnItem;
@property (strong, nonatomic) IBOutlet CustomTopLabel *lblItem;

@property (weak, nonatomic) IBOutlet NSLayoutConstraint *constraintBtnItemWidth;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *constraintBtnItemHeight;

@end
