HolderView.h 646 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. /**
  2. 当表单里没有数据时。就可以显示这个
  3. 暂无数据 点击刷新
  4. */
  5. #import <UIKit/UIKit.h>
  6. #import "MyDefHeader.h"
  7. @interface HolderView : UIView
  8. {
  9. UILabel* titLabel;
  10. BlockTypeVo fresh;
  11. /**点击后通知刷新
  12. */
  13. UIButton* btnFul;
  14. }
  15. @property(nonatomic,copy,readonly) NSString* title;
  16. -(void)freshBlock:(BlockTypeVo)block;
  17. @end
  18. /**
  19. 、现在要处理holdView的显示问题了。
  20. 、任何时候。
  21. 、主线程里。要hide一下、
  22. 、异步开始。设为NO。但不可显示。
  23. 、异步后。设为model.cnt
  24. 、如果是block调用的。需要先removeAll
  25. */