mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-04-23 12:27:52 +08:00
Remove baseURL proxy method from the object manager
This commit is contained in:
@@ -152,18 +152,6 @@ RKMappingResult, RKRequestDescriptor, RKResponseDescriptor;
|
||||
- (id)initWithClient:(AFHTTPClient *)client; // Designated initializer
|
||||
- (id)initWithBaseURL:(NSURL *)baseURL;
|
||||
|
||||
/// @name Network Integration
|
||||
|
||||
/**
|
||||
The base URL of the underlying RKClient instance. Object loader
|
||||
and paginator instances built through the object manager are
|
||||
relative to this URL.
|
||||
|
||||
@see RKClient
|
||||
@return The baseURL of the client.
|
||||
*/
|
||||
@property (weak, nonatomic, readonly) RKURL *baseURL;
|
||||
|
||||
/// @name Configuring Object Mapping
|
||||
|
||||
/**
|
||||
|
||||
@@ -191,11 +191,6 @@ static NSOperationQueue *defaultMappingQueue = nil;
|
||||
/////////////////////////////////////////////////////////////
|
||||
#pragma mark - Object Collection Loaders
|
||||
|
||||
- (NSURL *)baseURL
|
||||
{
|
||||
// return self.client.baseURL;
|
||||
}
|
||||
|
||||
//- (RKObjectPaginator *)paginatorWithResourcePathPattern:(NSString *)resourcePathPattern
|
||||
//{
|
||||
// RKURL *patternURL = [[self baseURL] URLByAppendingResourcePath:resourcePathPattern];
|
||||
|
||||
Reference in New Issue
Block a user