FWEmptyPluginImpl


@interface FWEmptyPluginImpl : NSObject <FWEmptyPlugin>

默认空界面插件

  • 单例模式

    Declaration

    Objective-C

    @property (class, nonatomic, readonly) FWEmptyPluginImpl *_Nonnull sharedInstance;
  • 显示空界面时是否执行淡入动画,默认YES

    Declaration

    Objective-C

    @property (nonatomic) BOOL fadeAnimated;
  • 空界面自定义句柄,show方法自动调用

    Declaration

    Objective-C

    @property (nonatomic, copy, nullable) void (^) (FWEmptyView *_Nonnull __strong) customBlock;
  • 默认空界面文本句柄,非loading时才触发

    Declaration

    Objective-C

    @property (nonatomic, copy, nullable) NSString *_Nullable (^)(void) defaultText;
  • 默认空界面详细文本句柄,非loading时才触发

    Declaration

    Objective-C

    @property (nonatomic, copy, nullable) NSString *_Nullable (^)(void) defaultDetail;
  • 默认空界面图片句柄,非loading时才触发

    Declaration

    Objective-C

    @property (nonatomic, copy, nullable) UIImage *_Nullable (^)(void) defaultImage;
  • 默认空界面动作按钮句柄,非loading时才触发

    Declaration

    Objective-C

    @property (nonatomic, copy, nullable) NSString *_Nullable (^)(void) defaultAction;