DetailViewController.h 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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<CAAnimationDelegate,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* upc_code;
  19. @property (strong,nonatomic) NSString* category_id;
  20. @property (strong,nonatomic) NSDictionary* selector;
  21. @property bool ispush;
  22. @property bool use_model_name;
  23. @property bool use_upc_code;
  24. @property (strong, nonatomic) IBOutlet UITableView *detailTable;
  25. //@property (strong, nonatomic) IBOutlet UIButton *anchor_button;
  26. @property int quantity;
  27. @property int step;
  28. //@property (weak, nonatomic) IBOutlet UIButton *btn_hangtag;
  29. //@property (strong,nonatomic) UIPopoverController *popover;
  30. @property (nonatomic , copy) void (^OnBack)(bool add_cart,bool add_wish,bool update_data);
  31. @property bool add_cart;
  32. @property bool add_wish;
  33. @property bool add_portfolio;
  34. @property bool update_data;
  35. //@property CALayer layer;
  36. @property (strong, nonatomic) IBOutlet UILabel *label_net_err;
  37. @property (strong, nonatomic) NIDropDown *dropDown;
  38. @property (strong, nonatomic) IBOutlet UIActivityIndicatorView *mum;
  39. -(void) reload;
  40. @property (nonatomic,copy) NSString *groupName;///<UWAVER Group Name
  41. @end