Permalink
Browse files

Revert "Add key value coding for count on NSArray"

This reverts commit 9fa14f9.
  • Loading branch information...
1 parent 499969e commit a22831049fca31c767736eec0bf765ff8de94f2a @danielctull danielctull committed Jan 25, 2012
Showing with 0 additions and 11 deletions.
  1. +0 −11 mogenerator.m
View
@@ -57,17 +57,6 @@ - (NSArray*)entitiesWithACustomSubclassVerbose:(BOOL)verbose_ {
@end
-@implementation NSArray (countKeyValueCoding)
-
-- (id)valueForKey:(NSString *)key {
-
- if ([key isEqualToString:@"count"])
- return [NSNumber numberWithUnsignedInteger:[self count]];
-
- return [super valueForKey:key];
-}
-@end
-
@implementation NSEntityDescription (customBaseClass)
- (BOOL)hasCustomSuperentity {
NSEntityDescription *superentity = [self superentity];

0 comments on commit a228310

Please sign in to comment.