杨锴
2024-11-07 62a24b3c7cf92919a93ee575e9460037e1a53816
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