mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-04-24 04:46:01 +08:00
Eliminated requirement to use -all_load linker flag. Fixed breakage in OS X builds due to ivar/property name disagreement. Removed references to all_load from the install docs. fixes #239
This commit is contained in:
@@ -6,8 +6,11 @@
|
||||
// Copyright 2011 Two Toasters. All rights reserved.
|
||||
//
|
||||
|
||||
#import "NSData+MD5.h"
|
||||
#import <CommonCrypto/CommonDigest.h>
|
||||
#import "NSData+MD5.h"
|
||||
#import "../Support/RKFixCategoryBug.h"
|
||||
|
||||
RK_FIX_CATEGORY_BUG(NSData_MD5)
|
||||
|
||||
@implementation NSData (MD5)
|
||||
|
||||
|
||||
@@ -7,6 +7,9 @@
|
||||
//
|
||||
|
||||
#import "NSDictionary+RKRequestSerialization.h"
|
||||
#import "../Support/RKFixCategoryBug.h"
|
||||
|
||||
RK_FIX_CATEGORY_BUG(NSDictionary_RKRequestSerialization)
|
||||
|
||||
/**
|
||||
* private helper function to convert any object to its string representation
|
||||
|
||||
@@ -6,8 +6,11 @@
|
||||
// Copyright 2011 Two Toasters. All rights reserved.
|
||||
//
|
||||
|
||||
#import "NSString+MD5.h"
|
||||
#import <CommonCrypto/CommonDigest.h>
|
||||
#import "NSString+MD5.h"
|
||||
#import "../Support/RKFixCategoryBug.h"
|
||||
|
||||
RK_FIX_CATEGORY_BUG(NSString_MD5)
|
||||
|
||||
@implementation NSString (MD5)
|
||||
|
||||
|
||||
@@ -129,6 +129,7 @@ NSString* RKPathAppendQueryParams(NSString* resourcePath, NSDictionary* queryPar
|
||||
NSString* _serviceUnavailableAlertTitle;
|
||||
NSString* _serviceUnavailableAlertMessage;
|
||||
BOOL _serviceUnavailableAlertEnabled;
|
||||
RKRequestQueue *_requestQueue;
|
||||
RKRequestCache* _cache;
|
||||
RKRequestCachePolicy _cachePolicy;
|
||||
NSMutableSet *_additionalRootCertificates;
|
||||
|
||||
@@ -90,6 +90,7 @@ typedef enum RKRequestBackgroundPolicy {
|
||||
BOOL _forceBasicAuthentication;
|
||||
RKRequestCache* _cache;
|
||||
NSTimeInterval _cacheTimeoutInterval;
|
||||
RKRequestQueue *_queue;
|
||||
|
||||
#if TARGET_OS_IPHONE
|
||||
RKRequestBackgroundPolicy _backgroundPolicy;
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
* for dispatching and managing RKRequest objects
|
||||
*/
|
||||
@interface RKRequestQueue : NSObject {
|
||||
NSString *_name;
|
||||
NSMutableArray* _requests;
|
||||
NSObject<RKRequestQueueDelegate>* _delegate;
|
||||
NSUInteger _loadingCount;
|
||||
|
||||
@@ -14,7 +14,11 @@
|
||||
#import "RKResponse.h"
|
||||
#import "RKNotifications.h"
|
||||
#import "../Support/RKLog.h"
|
||||
#import "../Support/RKFixCategoryBug.h"
|
||||
|
||||
RK_FIX_CATEGORY_BUG(UIApplication_RKNetworkActivity)
|
||||
|
||||
// Constants
|
||||
static RKRequestQueue* RKRequestQueueSharedQueue = nil;
|
||||
static NSMutableArray* RKRequestQueueInstances = nil;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user