- Lobster 3.0.0 Docs + Lobster 3.1.0 Docs - (92% documented) + (91% documented)
@@ -62,7 +62,7 @@ Config Key
+- Lobster 3.0.0 Docs + Lobster 3.1.0 Docs - (92% documented) + (91% documented)
@@ -62,7 +62,7 @@ Config Key
+Return Value
+
+
+
+ save(key:value:defaultsStore:encoder:)
+
+ Saves a value to DefaultsStore.
+Note
+ If you create a bridge class by inheritingConfigBridge<T>
, You need to override this function absolutely.
+
+Declaration
+Swift
+open func save(key: String, value: T?, defaultsStore: DefaultsStore, encoder: JSONEncoder)
+
+
+
+
+ get(key:remoteConfig:decoder:)
+
+ Get a value from RemoteConfig
+ +If a value matched a key doesn’t exist in RemoteConfig , this function will return nil
Note
+If you create a bridge class by inheriting ConfigBridge<T>
, You need to override this function absolutely.
Declaration
+Swift
+open func get(key: String, remoteConfig: RemoteConfig, decoder: JSONDecoder) -> T?
+
+ Return Value
+A value of type of T?
+
+
+
+ get(key:defaultsStore:decoder:)
+
+ Get a value from DefaultsStore
+ +If a value matched a key doesn’t exist in DefaultsStore, this function will return nil
Note
+If you create a bridge class by inheriting ConfigBridge<T>
, You need to override this function absolutely.
Declaration
+Swift
+open func get(key: String, defaultsStore: DefaultsStore, decoder: JSONDecoder) -> T?
+
+ Return Value
+A value of type of T?
+- Lobster 3.0.0 Docs + Lobster 3.1.0 Docs - (92% documented) + (91% documented)
@@ -62,7 +62,7 @@ Config Key
+ConfigCodableBridge
ConfigCodableBridge
Declaration
Swift
-public override func save(key: String, value: T?, defaultsStore: DefaultsStore)
+ public override func save(key: String, value: T?, defaultsStore: DefaultsStore, encoder: JSONEncoder)
Declaration
-
-
- get(key:remoteConfig:)
+
+
+ get(key:remoteConfig:decoder:)
Declaration
Declaration
Swift
-public override func get(key: String, remoteConfig: RemoteConfig) -> T?
+ public override func get(key: String, remoteConfig: RemoteConfig, decoder: JSONDecoder) -> T?
Declaration
Declaration
Declaration
Swift
-public override func get(key: String, defaultsStore: DefaultsStore) -> T?
+ public override func get(key: String, defaultsStore: DefaultsStore, decoder: JSONDecoder) -> T?
- Lobster 3.0.0 Docs + Lobster 3.1.0 Docs - (92% documented) + (91% documented)
@@ -62,7 +62,7 @@ Config Key
- Lobster 3.0.0 Docs + Lobster 3.1.0 Docs - (92% documented) + (91% documented)
@@ -62,7 +62,7 @@ Config Key
+- Lobster 3.0.0 Docs + Lobster 3.1.0 Docs - (92% documented) + (91% documented)
@@ -62,7 +62,7 @@ Config Key
+Declaration
-
-
- get(key:remoteConfig:)
+
+
+ get(key:remoteConfig:decoder:)
Declaration
Declaration
Swift
-public override func get(key: String, remoteConfig: RemoteConfig) -> T?
+ public override func get(key: String, remoteConfig: RemoteConfig, decoder: JSONDecoder) -> T?
Declaration
Declaration
Declaration
Swift
-public override func get(key: String, defaultsStore: DefaultsStore) -> T?
+ public override func get(key: String, defaultsStore: DefaultsStore, decoder: JSONDecoder) -> T?
- Lobster 3.0.0 Docs + Lobster 3.1.0 Docs - (92% documented) + (91% documented)
@@ -62,7 +62,7 @@ Config Key
ConfigDoubleBridge
Declaration
Swift
-public override func save(key: String, value: T?, defaultsStore: DefaultsStore)
+ public override func save(key: String, value: Double?, defaultsStore: DefaultsStore)
- Lobster 3.0.0 Docs + Lobster 3.1.0 Docs - (92% documented) + (91% documented)
@@ -62,7 +62,7 @@ Config Key
+- Lobster 3.0.0 Docs + Lobster 3.1.0 Docs - (92% documented) + (91% documented)
@@ -62,7 +62,7 @@ Config Key
+ConfigIntBridge
Declaration
Swift
-public override func save(key: String, value: T?, defaultsStore: DefaultsStore)
+ public override func save(key: String, value: Int?, defaultsStore: DefaultsStore)
- - Lobster 3.0.0 Docs - - (92% documented) -
- --
-