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:
Blake Watters
2011-09-01 20:52:46 -04:00
parent 7ca39d8127
commit b96940cc64
31 changed files with 107 additions and 2717 deletions

View File

@@ -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)

View File

@@ -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

View File

@@ -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)

View File

@@ -129,6 +129,7 @@ NSString* RKPathAppendQueryParams(NSString* resourcePath, NSDictionary* queryPar
NSString* _serviceUnavailableAlertTitle;
NSString* _serviceUnavailableAlertMessage;
BOOL _serviceUnavailableAlertEnabled;
RKRequestQueue *_requestQueue;
RKRequestCache* _cache;
RKRequestCachePolicy _cachePolicy;
NSMutableSet *_additionalRootCertificates;

View File

@@ -90,6 +90,7 @@ typedef enum RKRequestBackgroundPolicy {
BOOL _forceBasicAuthentication;
RKRequestCache* _cache;
NSTimeInterval _cacheTimeoutInterval;
RKRequestQueue *_queue;
#if TARGET_OS_IPHONE
RKRequestBackgroundPolicy _backgroundPolicy;

View File

@@ -16,6 +16,7 @@
* for dispatching and managing RKRequest objects
*/
@interface RKRequestQueue : NSObject {
NSString *_name;
NSMutableArray* _requests;
NSObject<RKRequestQueueDelegate>* _delegate;
NSUInteger _loadingCount;

View File

@@ -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;