Is there any analog in the Quickblox iOS SDK that doesn't require sending the whole array to the server to update one value?
If you wish to update one value and do not want to send the whole array to the server you can use the following solution:
QBCOCustomObject *object = [QBCOCustomObject customObject];
object.className = @"SuperSample";
object.ID = @"51d5a979efa357c7fa000006";
NSMutableDictionary *specialUpdateParams = [NSMutableDictionary dictionary];
[specialUpdateParams setObject:@"phone" forKey:@"push[interests]"];
[QBCustomObjects updateObject:object specialUpdateOperators:specialUpdateParams delegate:self];
You can also try using these snippets https://github.com/QuickBlox/quickblox-ios-sdk/tree/master/snippets
Maksym Pidhorbunskyi
Comments