FWRouterContext
@interface FWRouterContext : NSObject <NSCopying>
URL路由上下文
-
路由URL
Declaration
Objective-C
@property (nonatomic, copy, readonly) NSString *_Nonnull URL;
-
路由用户信息
Declaration
Objective-C
@property (nonatomic, copy, readonly, nullable) NSDictionary *userInfo;
-
路由完成回调
Declaration
Objective-C
@property (nonatomic, copy, readonly, nullable) FWRouterCompletion completion;
-
路由URL解析参数字典
Declaration
Objective-C
@property (nonatomic, copy, readonly) NSDictionary<NSString *, NSString *> *_Nonnull URLParameters;
-
路由userInfo和URLParameters合并参数,URL参数优先级高
Declaration
Objective-C
@property (nonatomic, copy, readonly) NSDictionary *_Nonnull parameters;
-
Undocumented
Declaration
Objective-C
@property (nonatomic, readonly) BOOL isOpening
-
创建路由参数对象
Declaration
Objective-C
- (nonnull instancetype)initWithURL:(nonnull NSString *)URL userInfo:(nullable NSDictionary *)userInfo completion:(nullable FWRouterCompletion)completion;