杨锴
2024-11-15 745e4fc64ca2912c011d925f12e638ed6d81b367
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