mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-05-07 01:41:46 +08:00
Add DEPRECATED_ATTRIBUTE_MESSAGE(message) macro to display a helpful recommendation message along with the default deprecation message.
This commit is contained in:
@@ -24,6 +24,7 @@
|
||||
#import "RKObjectMappingProvider.h"
|
||||
#import "RKConfigurationDelegate.h"
|
||||
#import "RKObjectPaginator.h"
|
||||
#import "RKMacros.h"
|
||||
|
||||
@protocol RKParser;
|
||||
|
||||
@@ -460,6 +461,6 @@ typedef enum {
|
||||
- (void)putObject:(id<NSObject>)object mapResponseWith:(RKObjectMapping *)objectMapping delegate:(id<RKObjectLoaderDelegate>)delegate DEPRECATED_ATTRIBUTE;
|
||||
- (void)deleteObject:(id<NSObject>)object mapResponseWith:(RKObjectMapping *)objectMapping delegate:(id<RKObjectLoaderDelegate>)delegate DEPRECATED_ATTRIBUTE;
|
||||
|
||||
@property (nonatomic, retain) RKManagedObjectStore *objectStore DEPRECATED_ATTRIBUTE;
|
||||
@property (nonatomic, retain) RKManagedObjectStore *objectStore DEPRECATED_ATTRIBUTE_MESSAGE("Use managedObjectStore instead");
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user