EnumSelectViewController.h 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. //
  2. // CommonEditorEnumViewController.h
  3. // RedAnt ERP Mobile
  4. //
  5. // Created by Ray on 14-7-18.
  6. // Copyright (c) 2014年 United Software Applications, Inc. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. @class EnumSelectViewController;
  10. @protocol EnumSelectViewControllerDelegate <NSObject>
  11. -(void) EnumValueChanged:(NSMutableDictionary *)value indexPath :(NSIndexPath*) indexPath;
  12. @end
  13. @interface EnumSelectViewController : UIViewController<UITableViewDataSource,UITableViewDelegate,UISearchBarDelegate>
  14. @property (strong,nonatomic) NSMutableDictionary* cadedate;
  15. //@property (strong,nonatomic) NSMutableDictionary* value;
  16. @property (nonatomic, weak) id<EnumSelectViewControllerDelegate> delegate;
  17. //@property bool canbeEmpty;
  18. //@property index last
  19. @property bool single_select;
  20. @property bool auto_close;
  21. @property (strong,nonatomic) NSIndexPath* updatePosition;
  22. @property (strong, nonatomic) IBOutlet UINavigationItem *navi_item;
  23. //@property (strong,nonatomic) NSString* title;
  24. @property bool dirty ;
  25. @property int max_select ;
  26. @property bool is_dialog ;
  27. @property (strong, nonatomic) IBOutlet UITableView *tableEnum;
  28. @property (nonatomic , copy) void (^returnValue)(NSMutableDictionary* value);
  29. @property bool hide_navibar;
  30. @property bool reset;
  31. @property int filter_count;
  32. @property (strong,nonatomic) NSString* keywords;
  33. @end