From eabfd748b6518eff860a3cef8a27a5f2fb0ddbd3 Mon Sep 17 00:00:00 2001 From: Blake Watters Date: Wed, 29 Aug 2012 18:59:51 -0400 Subject: [PATCH] Update designated initializer for RKObjectMapping --- Code/ObjectMapping/RKObjectMapping.h | 2 ++ Code/ObjectMapping/RKObjectMapping.m | 7 +++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Code/ObjectMapping/RKObjectMapping.h b/Code/ObjectMapping/RKObjectMapping.h index aad7a6b9..260794e5 100644 --- a/Code/ObjectMapping/RKObjectMapping.h +++ b/Code/ObjectMapping/RKObjectMapping.h @@ -131,6 +131,8 @@ relationship. Relationships are processed using an object mapping as well. */ + (id)mappingForClass:(Class)objectClass; +- (id)initWithClass:(Class)objectClass; // Designated initializer + /** Returns an object mapping useful for configuring a serialization mapping. The object class is configured as NSMutableDictionary diff --git a/Code/ObjectMapping/RKObjectMapping.m b/Code/ObjectMapping/RKObjectMapping.m index a3415090..ca6370d0 100644 --- a/Code/ObjectMapping/RKObjectMapping.m +++ b/Code/ObjectMapping/RKObjectMapping.m @@ -48,9 +48,7 @@ NSString * const RKObjectMappingNestingAttributeKeyName = @"