DeviceSelectPopupView.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. //
  2. // DeviceSelectPopupView.h
  3. // kneet2
  4. //
  5. // Created by Jason Lee on 10/12/15.
  6. // Copyright (c) 2015 ntels. All rights reserved.
  7. //
  8. @import UIKit;
  9. #import "CustomAlertView.h"
  10. #import "JDViewController.h"
  11. @class CustomImageView;
  12. @class CustomCheckBox;
  13. @class CustomRadioButton;
  14. @interface DeviceSelectPopupView : CustomAlertView
  15. @property (weak, nonatomic) NSMutableArray<ItemModel> *refDevices;
  16. @property (weak, nonatomic, readonly) NSArray<ItemModel> *selectedDevices;
  17. @property (strong, nonatomic) NSString *typeCode;
  18. @property (weak, nonatomic) IBOutlet CustomTableView *tableView;
  19. - (id)initFromNib;
  20. - (id)initFromNibWithRefDevices:(NSMutableArray<ItemModel> *)refDevices
  21. typeCode:(NSString*)typeCode;
  22. @end
  23. @interface DeviceSelectPopupTableViewCell : UITableViewCell
  24. @property (weak, nonatomic) IBOutlet CustomImageView *imgvDevice;
  25. @property (weak, nonatomic) IBOutlet CustomLabel *lblDeviceName;
  26. @property (weak, nonatomic) IBOutlet CustomCheckBox *chkSelect;
  27. @property (weak, nonatomic) IBOutlet CustomRadioButton *rdoSelect;
  28. @end