杨锴
2024-11-06 63f7ed967433acee3ae8764c7a077e15c29c41f2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
//
//  NSDictionary+OBSMTLMappingAdditions.h
//  Mantle
//
//  Created by Robert Böhnke on 10/31/13.
//  Copyright (c) 2013 GitHub. All rights reserved.
//
 
#import <Foundation/Foundation.h>
 
@interface NSDictionary (OBSMTLMappingAdditions)
 
/// Creates an identity mapping for serialization.
///
/// class - A subclass of OBSMTLModel.
///
/// Returns a dictionary that maps all properties of the given class to
/// themselves.
+ (NSDictionary *)obs_mtl_identityPropertyMapWithModel:(Class)modelClass;
 
@end