LCUtils

Objective-C

@interface LCUtils : NSObject

// MARK: JSON String

+ (NSString * _Nullable)jsonStringFromDictionary:(NSDictionary *)dictionary;
+ (NSString * _Nullable)jsonStringFromArray:(NSArray *)array;
+ (NSString * _Nullable)jsonStringFromJSONObject:(id)JSONObject;

// MARK: Call Block

+ (void)callBooleanResultBlock:(LCBooleanResultBlock)block error:(NSError * _Nullable)error;
+ (void)callIntegerResultBlock:(LCIntegerResultBlock)block number:(NSInteger)number error:(NSError * _Nullable)error;
+ (void)callStringResultBlock:(LCStringResultBlock)block string:(NSString * _Nullable)string error:(NSError * _Nullable)error;
+ (void)callDataResultBlock:(LCDataResultBlock)block data:(NSData * _Nullable)data error:(NSError * _Nullable)error;
+ (void)callArrayResultBlock:(LCArrayResultBlock)block array:(NSArray * _Nullable)array error:(NSError * _Nullable)error;
+ (void)callSetResultBlock:(LCSetResultBlock)block set:(NSSet * _Nullable)set error:(NSError * _Nullable)error;
+ (void)callDictionaryResultBlock:(LCDictionaryResultBlock)block dictionary:(NSDictionary * _Nullable)dictionary error:(NSError * _Nullable)error;
+ (void)callIdResultBlock:(LCIdResultBlock)block object:(id _Nullable)object error:(NSError * _Nullable)error;
+ (void)callProgressBlock:(LCProgressBlock)block percent:(NSInteger)percent;
+ (void)callObjectResultBlock:(LCObjectResultBlock)block object:(LCObject * _Nullable)object error:(NSError * _Nullable)error;
+ (void)callUserResultBlock:(LCUserResultBlock)block user:(LCUser * _Nullable)user error:(NSError * _Nullable)error;
+ (void)callFileResultBlock:(LCFileResultBlock)block file:(LCFile * _Nullable)file error:(NSError * _Nullable)error;
+ (void)callCloudQueryCallback:(LCCloudQueryCallback)block result:(LCCloudQueryResult * _Nullable)result error:(NSError * _Nullable)error;

@end

Swift

class LCUtils : NSObject

Undocumented