Permalink
Browse files

fix grammar in error message

  • Loading branch information...
1 parent 00285df commit 1644a8fdc426639fd7604009213dc2d9c2ad7291 @5teev 5teev committed Jun 30, 2014
Showing with 2 additions and 2 deletions.
  1. +2 −2 Mantle/NSValueTransformer+MTLPredefinedTransformerAdditions.m
@@ -73,7 +73,7 @@ + (NSValueTransformer *)mtl_JSONArrayTransformerWithModelClass:(Class)modelClass
reversibleTransformerWithForwardBlock:^ id (NSArray *dictionaries) {
if (dictionaries == nil) return nil;
- NSAssert([dictionaries isKindOfClass:NSArray.class], @"Expected a array of dictionaries, got: %@", dictionaries);
+ NSAssert([dictionaries isKindOfClass:NSArray.class], @"Expected an array of dictionaries, got: %@", dictionaries);
NSMutableArray *models = [NSMutableArray arrayWithCapacity:dictionaries.count];
for (id JSONDictionary in dictionaries) {
@@ -95,7 +95,7 @@ + (NSValueTransformer *)mtl_JSONArrayTransformerWithModelClass:(Class)modelClass
reverseBlock:^ id (NSArray *models) {
if (models == nil) return nil;
- NSAssert([models isKindOfClass:NSArray.class], @"Expected a array of MTLModels, got: %@", models);
+ NSAssert([models isKindOfClass:NSArray.class], @"Expected an array of MTLModels, got: %@", models);
NSMutableArray *dictionaries = [NSMutableArray arrayWithCapacity:models.count];
for (id model in models) {

0 comments on commit 1644a8f

Please sign in to comment.