Combining KVC Collection Operators

274 Views Asked by At

Is it possible to combine KVC collection operators in iOS? Something like:

[someManagedCollection valueForKeyPath:@"@[email protected]"];

Right now, I'm doing it like this:

[[someManagedCollection valueForKeyPath:@"distinctUnionOfObjects.objects"] count];

but I'm wondering if combining operators would lead to better performance.

1

There are 1 best solutions below

0
On

Sorry to be brief, but in my experience, "No." (And yes, I've tried.)