ThingsModifyViewController.h 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. //
  2. // ThingsModifyViewController.h
  3. // kneet
  4. //
  5. // Created by Jason Lee on 4/21/15.
  6. // Copyright (c) 2015 ntels. All rights reserved.
  7. //
  8. #import "JDViewController.h"
  9. @class DeviceModel;
  10. @interface ThingsModifyViewController : JDViewController
  11. #pragma mark - Properties
  12. @property (strong, nonatomic) DeviceModel *device;
  13. @property (strong, nonatomic) DeviceIconModel *selectedIcon;
  14. @property (strong, nonatomic) NSMutableArray *dataArray;
  15. @property (weak, nonatomic) IBOutlet UICollectionView *collectionView;
  16. @property (weak, nonatomic) IBOutlet NSLayoutConstraint *constraintCollectionViewHeight;
  17. @property (weak, nonatomic) IBOutlet CustomButton *btnSave;
  18. @property (weak, nonatomic) IBOutlet CustomButton *btnCancel;
  19. #pragma mark - Instance Methods
  20. @end
  21. @class CustomButton;
  22. @interface ThingsDeviceIconCell : UICollectionViewCell
  23. @property (strong, nonatomic) IBOutlet CustomButton *btnDeviceIcon;
  24. @end
  25. @interface ThingsDeviceHeaderView : UICollectionReusableView
  26. @property (weak, nonatomic) IBOutlet UILabel *lblHeaderTitle;
  27. @end