Structures
The following structures are available globally.
-
Declaration
Swift
@dynamicMemberLookup public struct FWJSON
extension FWJSON: Swift.Collection
extension FWJSON: Swift.ExpressibleByStringLiteral
extension FWJSON: Swift.ExpressibleByIntegerLiteral
extension FWJSON: Swift.ExpressibleByBooleanLiteral
extension FWJSON: Swift.ExpressibleByFloatLiteral
extension FWJSON: Swift.ExpressibleByDictionaryLiteral
extension FWJSON: Swift.ExpressibleByArrayLiteral
extension FWJSON: Swift.RawRepresentable
extension FWJSON: Swift.CustomStringConvertible, Swift.CustomDebugStringConvertible
extension FWJSON: Swift.Comparable
extension FWJSON: Codable
-
UserDefault属性包装器注解 使用示例: @FWUserDefaultAnnotation(“userName”, defaultValue: “test”) public static var userName: String
See moreDeclaration
Swift
@propertyWrapper public struct FWUserDefaultAnnotation<T>
-
模块属性包装器注解 使用示例: @FWModuleAnnotation(UserModuleService.self) static var userModule: UserModuleService
See moreDeclaration
Swift
@propertyWrapper public struct FWModuleAnnotation<T>
-
插件属性包装器注解 使用示例: @FWPluginAnnotation(TestPluginProtocol.self) static var testPlugin: TestPluginProtocol
See moreDeclaration
Swift
@propertyWrapper public struct FWPluginAnnotation<T>
-
路由属性包装器注解 使用示例: @FWRouterAnnotation(AppRouter.pluginRouter(_:)) static var pluginUrl: String = “app://plugin/:id”
See moreDeclaration
Swift
@propertyWrapper public struct FWRouterAnnotation