LuxChat  2.0
Instant messenger for iOS
PFConfig.h
1 
10 #import <Foundation/Foundation.h>
11 
12 #import <Bolts/BFTask.h>
13 
14 #import <Parse/PFConstants.h>
15 
16 NS_ASSUME_NONNULL_BEGIN
17 
18 @class PFConfig;
19 
20 typedef void(^PFConfigResultBlock)(PFConfig *_Nullable config, NSError *_Nullable error);
21 
26 @interface PFConfig : NSObject
27 
29 #pragma mark - Current Config
30 
40 
49 
51 #pragma mark - Retrieving Config
52 
60 
67 + (void)getConfigInBackgroundWithBlock:(nullable PFConfigResultBlock)block;
68 
70 #pragma mark - Parameters
71 
80 - (nullable id)objectForKey:(NSString *)key;
81 
94 - (nullable id)objectForKeyedSubscript:(NSString *)keyedSubscript;
95 
96 @end
97 
98 NS_ASSUME_NONNULL_END
Definition: PFConfig.h:26
BFTask< PFConfig * > * getCurrentConfigInBackground()
PFConfig * currentConfig()
BFTask< PFConfig * > * getConfigInBackground()
Definition: PFImageView.h:32