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 __strong) willEnterBlock;
-
已进入block
Declaration
Objective-C
@property (nonatomic, copy, nullable) void (^) (FWStateTransition *_Nullable __strong) didEnterBlock;
-
即将退出block
Declaration
Objective-C
@property (nonatomic, copy, nullable) void (^) (FWStateTransition *_Nonnull __strong) willExitBlock;
-
已退出block
Declaration
Objective-C
@property (nonatomic, copy, nullable) void (^) (FWStateTransition *_Nonnull __strong) didExitBlock;
-
从名称初始化
Declaration
Objective-C
+ (nonnull instancetype)stateWithName:(nonnull NSString *)name;