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