FWState

@interface FWState : NSObject

状态类

  • 状态名称,只读

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly) NSString *_Nonnull name;
  • 即将进入block

    Declaration

    Objective-C

    @property (nonatomic, copy, nullable) void (^) (FWStateTransition *_Nullable) willEnterBlock;
  • 已进入block

    Declaration

    Objective-C

    @property (nonatomic, copy, nullable) void (^) (FWStateTransition *_Nullable) didEnterBlock;
  • 即将退出block

    Declaration

    Objective-C

    @property (nonatomic, copy, nullable) void (^) (FWStateTransition *_Nonnull) willExitBlock;
  • 已退出block

    Declaration

    Objective-C

    @property (nonatomic, copy, nullable) void (^) (FWStateTransition *_Nonnull) didExitBlock;
  • 从名称初始化

    Declaration

    Objective-C

    + (nonnull instancetype)stateWithName:(nonnull NSString *)name;