GHBlankView.h 693 B

1234567891011121314151617181920212223242526
  1. //
  2. // GHBlankView.h
  3. // GameHelper
  4. //
  5. // Created by 青秀斌 on 16/12/29.
  6. // Copyright © 2016年 kylincc. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. @class GHBlankView;
  10. NS_ASSUME_NONNULL_BEGIN
  11. typedef GHBlankView * _Nonnull(^BlankImageBlock)(NSString * _Nullable);
  12. typedef GHBlankView * _Nonnull(^BlankTextBlock)(NSString * _Nullable);
  13. typedef GHBlankView * _Nonnull(^BlankOffsetBlock)(CGFloat);
  14. @interface GHBlankView : UIView
  15. @property (nonatomic, readonly) BlankImageBlock image;
  16. @property (nonatomic, readonly) BlankTextBlock title;
  17. @property (nonatomic, readonly) BlankTextBlock message;
  18. @property (nonatomic, readonly) BlankOffsetBlock offsetY;
  19. @end
  20. NS_ASSUME_NONNULL_END