Add count method to RKMappingResult

This commit is contained in:
Blake Watters
2012-08-24 13:15:43 -04:00
parent c372a02b29
commit 00a89d3a4b
2 changed files with 6 additions and 0 deletions

View File

@@ -106,4 +106,9 @@
return [NSString stringWithFormat:@"<%@: %p, results=%@>", NSStringFromClass([self class]), self, self.keyPathToMappedObjects];
}
- (NSUInteger)count
{
return [[self asCollection] count];
}
@end