mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-05-07 01:41:46 +08:00
Use instancetype in constructors for increased subclassing friendliness
This commit is contained in:
@@ -55,6 +55,6 @@
|
||||
@param destinationKeyPath The key path on the destination object on which to set the mapped data.
|
||||
@return A newly created attribute mapping object that is ready to be added to an object mapping.
|
||||
*/
|
||||
+ (RKAttributeMapping *)attributeMappingFromKeyPath:(NSString *)sourceKeyPath toKeyPath:(NSString *)destinationKeyPath;
|
||||
+ (instancetype)attributeMappingFromKeyPath:(NSString *)sourceKeyPath toKeyPath:(NSString *)destinationKeyPath;
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user