Structures

The following structures are available globally.

JSON

UserDefaultAnnotation

  • UserDefault属性包装器注解 使用示例: @UserDefaultAnnotation(“userName”, defaultValue: “test”) public static var userName: String

    See more

ModuleAnnotation

  • 模块属性包装器注解 使用示例: @ModuleAnnotation(UserModuleService.self) static var userModule: UserModuleService

    See more

PluginAnnotation

  • 插件属性包装器注解 使用示例: @PluginAnnotation(TestPluginProtocol.self) static var testPlugin: TestPluginProtocol

    See more

RouterAnnotation

  • 路由属性包装器注解 使用示例: @RouterAnnotation(AppRouter.pluginRouter(_:)) static var pluginUrl: String = “app://plugin/:id”

    See more