DetailViewController.h 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. //
  2. // DetailViewController.h
  3. // RedAnt ERP Mobile
  4. //
  5. // Created by Ray on 7/25/15.
  6. // Copyright (c) 2015 United Software Applications, Inc. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. #import "DetailTopicCell.h"
  10. #import "DetailHeaderCell.h"
  11. //#import "SelectorViewController.h"
  12. #import "ActiveViewController.h"
  13. #import "NIDropDown.h"
  14. @interface DetailViewController : ActiveViewController<UITableViewDataSource,UITableViewDelegate,DetailRelatedCellDelegate,DetailHeaderCellDelegate,/*SelectorDelegate,*/NIDropDownDelegate>
  15. @property (strong,nonatomic) NSMutableDictionary* detail_data;
  16. @property (strong,nonatomic) NSString* product_id;
  17. @property (strong,nonatomic) NSString* model_name;
  18. @property (strong,nonatomic) NSString* category_id;
  19. @property (strong,nonatomic) NSDictionary* selector;
  20. @property bool ispush;
  21. @property bool use_model_name;
  22. @property (strong, nonatomic) IBOutlet UITableView *detailTable;
  23. @property (strong, nonatomic) IBOutlet UIButton *anchor_button;
  24. @property int quantity;
  25. @property int step;
  26. @property (strong,nonatomic) UIPopoverController *popover;
  27. @property (nonatomic , copy) void (^OnBack)(bool add_cart,bool add_wish,bool update_data);
  28. @property bool add_cart;
  29. @property bool add_wish;
  30. @property bool update_data;
  31. //@property CALayer layer;
  32. @property (strong, nonatomic) IBOutlet UILabel *label_net_err;
  33. @property (strong, nonatomic) NIDropDown *dropDown;
  34. @property (strong, nonatomic) IBOutlet UIActivityIndicatorView *mum;
  35. -(void) reload;
  36. @end