RLMCollection Protocol Reference
| Conforms to | NSFastEnumeration |
| Declared in | RLMCollection.h |
Instance Methods
setValue:forKey:
Invokes setValue:forKey: on each of the collection’s objects using the specified value and key.
- (void)setValue:(nullable id)value forKey:(NSString *)keyParameters
- value
The object value.
- key
The name of the property.
Discussion
Warning: This method can only be called during a write transaction.
Declared In
RLMCollection.hvalueForKey:
Returns an NSArray containing the results of invoking valueForKey: using key on each of the collection’s objects.
- (nullable id)valueForKey:(NSString *)keyParameters
- key
The name of the property.
Return Value
NSArray containing the results of invoking valueForKey: using key on each of the collection’s objects.
Declared In
RLMCollection.h