Reputation: 13283
Is there any way to remove an object / key from a CKRecord
? It somehow acts like an NSDictionary
but no method available, I believe, to do this task. Unlike in NSDictionary
, we have - (void)removeObjectForKey:(KeyType)aKey;
.
Upvotes: 1
Views: 74
Reputation: 285059
It's exactly like the modern syntax of NS(Mutable)Dictionary
. Just use key subscription syntax and assign nil
record[@"aKey"] = nil;
Upvotes: 1