ItemSearchViewController.h 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. //
  2. // ItemSearchViewController.h
  3. // iShop
  4. //
  5. // Created by Rui Zhang on 1/29/24.
  6. //
  7. #import "TabViewController.h"
  8. #import "CategoryHeaderView.h"
  9. NS_ASSUME_NONNULL_BEGIN
  10. @interface ItemSearchViewController : TabViewController<UICollectionViewDataSource,UICollectionViewDelegate,UICollectionViewDelegateFlowLayout,UIScrollViewDelegate>
  11. #pragma mark view
  12. @property (strong, nonatomic) IBOutlet UICollectionView *collectionview;
  13. @property (strong, nonatomic) IBOutlet UIActivityIndicatorView *mum;
  14. @property (strong, nonatomic) IBOutlet CategoryHeaderView *headerView;
  15. @property (strong, nonatomic) IBOutlet UILabel *label_net_err;
  16. @property (strong, nonatomic) IBOutlet UILabel *cagegoryLabel;
  17. #pragma mark control
  18. @property int categoryViewType;
  19. @property long offset;
  20. @property bool loadall;
  21. @property bool showalert;
  22. @property bool showDetail;
  23. #pragma mark data
  24. @property (strong, nonatomic, nullable) NSMutableDictionary* category_data;
  25. @property (strong,nonatomic,nullable) NSString* categoryid;
  26. @property (strong,nonatomic,nullable) NSString* p_alert;
  27. @property (strong,nonatomic,nullable) NSString* p_available;
  28. @property (strong,nonatomic,nullable) NSString* p_QTY;
  29. @property (strong,nonatomic,nullable) NSString* p_price;
  30. @property (strong,nonatomic,nullable) NSString* p_bestseller;
  31. @property (strong,nonatomic,nullable) NSString* modelname;
  32. @property (strong,nonatomic,nullable) NSString* modeldescrip;
  33. @property (strong,nonatomic,nullable) NSString* ctgid;
  34. @property (strong,nonatomic,nullable) NSString* covertype;
  35. @property (strong,nonatomic,nullable) NSString* alert;
  36. @end
  37. NS_ASSUME_NONNULL_END