RouterValue
@propertyWrapper
public struct RouterValue
路由属性包装器注解
使用示例: @RouterValue(AppRouter.pluginRouter(_:)) static var pluginUrl: String = “app://plugin/:id”
-
Undocumented
Declaration
Swift
public init( wrappedValue value: String, parameters: Any? = nil, _ handler: Router.Handler? = nil )
-
Undocumented
Declaration
Swift
public init( _ pattern: String, parameters: Any? = nil, handler: Router.Handler? = nil )
-
Undocumented
Declaration
Swift
public var wrappedValue: String { get set }