Permalink
Browse files

minor refactoring

  • Loading branch information...
1 parent 5c8c02c commit 91c8c739c1aedbd091d8eefa71ff595bf7c0dca4 @Machx committed Apr 3, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 Source/NSManagedObjectAdditions.m
View
4 Source/NSManagedObjectAdditions.m
@@ -51,8 +51,8 @@ -(BOOL)cw_setValue:(id)value
}
-(void)cw_setValuesForKeys:(NSDictionary *)moValues {
- [moValues cw_each:^(id key, id value, BOOL *stop) {
- [self setValue:value forKey:key];
+ [moValues enumerateKeysAndObjectsUsingBlock:^(id key, id obj, BOOL *stop) {
+ [self setValue:obj forKey:key];
}];
}

0 comments on commit 91c8c73

Please sign in to comment.