// // ThingsViewController.h // kneet // // Created by Jason Lee on 3/10/15. // Copyright (c) 2015 ntels. All rights reserved. // #import "JDViewController.h" @class DeviceModel; @class CustomLabel; @interface ThingsViewController : JDViewController #pragma mark - Properties @property (weak, nonatomic) IBOutlet CustomLabel *lblTitle; @property (weak, nonatomic) IBOutlet UIView *addHubContainerView; @property (weak, nonatomic) IBOutlet UICollectionView *collectionView; @property (weak, nonatomic) IBOutlet CustomButton *btnAddHub; @property (weak, nonatomic) IBOutlet UIView *editModeView; @property (weak, nonatomic) IBOutlet NSLayoutConstraint *constraintEditModeRight; #pragma mark - Instance Methods - (void)prepareViewDidLoad; - (void)updateHomeHubStatusToDevices; - (void)updateDevice:(DeviceModel *)device; - (IBAction)btnAddHubTouched:(id)sender; - (IBAction)btnOptionTouched:(id)sender; - (IBAction)btnCloseOnEditModeTouched:(id)sender; - (void)requestPollingCommandStatusOfDeviceInBackground:(DeviceModel *)device; @end @class CustomButton; @class CustomLabel; @class CustomImageView; @class CustomCheckBox; @interface ThingsCollectionViewCell : UICollectionViewCell @property (weak, nonatomic) IBOutlet CustomButton *btnDevice; @property (weak, nonatomic) IBOutlet CustomLabel *lblDeviceName; @property (weak, nonatomic) IBOutlet CustomLabel *lblDeviceStatus; @property (weak, nonatomic) IBOutlet UIView *controlContainer; @property (weak, nonatomic) IBOutlet CustomButton *btnDelete; @property (weak, nonatomic) IBOutlet UIActivityIndicatorView *aiv; @end @interface ThingsAddCollectionViewCell : UICollectionViewCell @property (weak, nonatomic) IBOutlet CustomButton *btnAdd; @end @interface ThingsCollectionFooterView : UICollectionReusableView @property (weak, nonatomic) IBOutlet CustomButton *btnAdd; @end