|
LuxChat
2.0
Instant messenger for iOS
|
#import <PFConfig.h>
Instance Methods | |
| (nullable id) | - objectForKey: |
More... | |
| (nullable id) | - objectForKeyedSubscript: |
Class Methods | |
| (PFConfig *) | + currentConfig |
More... | |
| (BFTask< PFConfig * > *) | + getCurrentConfigInBackground |
| (BFTask< PFConfig * > *) | + getConfigInBackground |
More... | |
| (void) | + getConfigInBackgroundWithBlock: |
| (nullable PFConfig *) | + PF_SWIFT_UNAVAILABLE |
More... | |
| (nullable PFConfig *) | + getConfig: |
PFConfig is a representation of the remote configuration object. It enables you to add things like feature gating, a/b testing or simple "Message of the day".
| + (PFConfig *) currentConfig |
| + (nullable PFConfig *) getConfig: | (NSError **) | error |
Gets the PFConfig object synchronously from the server and sets an error if it occurs.
| error | Pointer to an NSError that will be set if necessary. |
nil. Provided by category PFConfig(Synchronous).
Gets the PFConfig asynchronously and sets it as a result of a task.
| + (void) getConfigInBackgroundWithBlock: | (nullable PFConfigResultBlock) | block |
| - (nullable id) objectForKey: | (NSString *) | key |
Returns the object associated with a given key.
| key | The key for which to return the corresponding configuration value. |
key, or nil if there is no such value. | - (nullable id) objectForKeyedSubscript: | (NSString *) | keyedSubscript |
Returns the object associated with a given key.
This method enables usage of literal syntax on PFConfig. E.g. NSString *value = config[@"key"];
| keyedSubscript | The keyed subscript for which to return the corresponding configuration value. |
key, or nil if there is no such value. | + (nullable PFConfig *) PF_SWIFT_UNAVAILABLE |
Gets the PFConfig object synchronously from the server.
PFConfig if the operation succeeded, otherwise nil. Provided by category PFConfig(Synchronous).
1.8.9.1