ThingsViewController.h 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. //
  2. // ThingsViewController.h
  3. // kneet
  4. //
  5. // Created by Jason Lee on 3/10/15.
  6. // Copyright (c) 2015 ntels. All rights reserved.
  7. //
  8. #import "JDViewController.h"
  9. @class DeviceModel;
  10. @class CustomLabel;
  11. @interface ThingsViewController : JDViewController
  12. #pragma mark - Properties
  13. @property (weak, nonatomic) IBOutlet CustomLabel *lblTitle;
  14. @property (weak, nonatomic) IBOutlet UIView *addHubContainerView;
  15. @property (weak, nonatomic) IBOutlet UICollectionView *collectionView;
  16. @property (weak, nonatomic) IBOutlet CustomButton *btnAddHub;
  17. #pragma mark - Instance Methods
  18. - (void)prepareViewDidLoad;
  19. - (void)updateDevice:(DeviceModel *)device;
  20. - (IBAction)btnAddHubTouched:(id)sender;
  21. @end
  22. @class CustomButton;
  23. @class CustomLabel;
  24. @class CustomImageView;
  25. @class CustomCheckBox;
  26. @interface ThingsCollectionViewCell : UICollectionViewCell
  27. @property (weak, nonatomic) IBOutlet CustomButton *btnDevice;
  28. @property (weak, nonatomic) IBOutlet CustomLabel *lblDeviceName;
  29. @property (weak, nonatomic) IBOutlet CustomLabel *lblDeviceStatus;
  30. @end
  31. @interface ThingsAddCollectionViewCell : UICollectionViewCell
  32. @property (weak, nonatomic) IBOutlet CustomButton *btnAdd;
  33. @end
  34. @interface ThingsCollectionFooterView : UICollectionReusableView
  35. @property (weak, nonatomic) IBOutlet CustomButton *btnAdd;
  36. @end