Permalink
Browse files

Merge pull request #4 from thisandagain/master

SDK Updates
  • Loading branch information...
2 parents 2df3d8b + a06cb8f commit bbe106af154cf5ad9201176112fc46f630daa087 @felixge felixge committed Jun 5, 2012
Showing with 7,365 additions and 3,484 deletions.
  1. +5 −1 .gitignore
  2. +0 −55 Classes/AsiHttpRequest/ASICacheDelegate.h
  3. +0 −387 Classes/AsiHttpRequest/ASIDownloadCache.m
  4. +0 −50 Classes/JSON/JSON.h
  5. +0 −68 Classes/JSON/NSObject+SBJSON.h
  6. +0 −53 Classes/JSON/NSObject+SBJSON.m
  7. +0 −58 Classes/JSON/NSString+SBJSON.h
  8. +0 −55 Classes/JSON/NSString+SBJSON.m
  9. +0 −75 Classes/JSON/SBJSON.h
  10. +0 −212 Classes/JSON/SBJSON.m
  11. +0 −86 Classes/JSON/SBJsonBase.h
  12. +0 −78 Classes/JSON/SBJsonBase.m
  13. +0 −87 Classes/JSON/SBJsonParser.h
  14. +0 −475 Classes/JSON/SBJsonParser.m
  15. +0 −129 Classes/JSON/SBJsonWriter.h
  16. +0 −237 Classes/JSON/SBJsonWriter.m
  17. +0 −8 Config.m
  18. +3 −5 { → Example}/Classes/IphoneSdkAppDelegate.h
  19. +6 −5 { → Example}/Classes/IphoneSdkAppDelegate.m
  20. +3 −11 { → Example}/Classes/IphoneSdkViewController.h
  21. +44 −23 { → Example}/Classes/IphoneSdkViewController.m
  22. 0 { → Example/Classes}/IphoneSdkViewController.xib
  23. 0 { → Example}/Config.h
  24. +15 −0 Example/Config.m
  25. BIN { → Example}/Default.png
  26. 0 { → Example}/MainWindow.xib
  27. 0 { → Example}/TransloaditIphoneSdk-Info.plist
  28. +126 −134 { → Example}/TransloaditIphoneSdk.xcodeproj/project.pbxproj
  29. +7 −0 Example/TransloaditIphoneSdk.xcodeproj/project.xcworkspace/contents.xcworkspacedata
  30. +10 −0 ...eSdk.xcodeproj/project.xcworkspace/xcuserdata/asliwinski.xcuserdatad/WorkspaceSettings.xcsettings
  31. +85 −0 ...aditIphoneSdk.xcodeproj/xcuserdata/asliwinski.xcuserdatad/xcschemes/TransloaditIphoneSdk.xcscheme
  32. +22 −0 ...ansloaditIphoneSdk.xcodeproj/xcuserdata/asliwinski.xcuserdatad/xcschemes/xcschememanagement.plist
  33. 0 { → Example}/TransloaditIphoneSdk_Prefix.pch
  34. BIN { → Example}/icon.png
  35. BIN { → Example}/logo.jpg
  36. +3 −3 { → Example}/main.m
  37. +1 −1 License
  38. +88 −56 Readme.md
  39. 0 {Classes → TransloaditSDK}/AsiHttpRequest/ASIAuthenticationDialog.h
  40. +22 −12 {Classes → TransloaditSDK}/AsiHttpRequest/ASIAuthenticationDialog.m
  41. +103 −0 TransloaditSDK/AsiHttpRequest/ASICacheDelegate.h
  42. +42 −0 TransloaditSDK/AsiHttpRequest/ASIDataCompressor.h
  43. +219 −0 TransloaditSDK/AsiHttpRequest/ASIDataCompressor.m
  44. +41 −0 TransloaditSDK/AsiHttpRequest/ASIDataDecompressor.h
  45. +218 −0 TransloaditSDK/AsiHttpRequest/ASIDataDecompressor.m
  46. +5 −6 {Classes → TransloaditSDK}/AsiHttpRequest/ASIDownloadCache.h
  47. +514 −0 TransloaditSDK/AsiHttpRequest/ASIDownloadCache.m
  48. +2 −2 {Classes → TransloaditSDK}/AsiHttpRequest/ASIFormDataRequest.h
  49. +39 −32 {Classes → TransloaditSDK}/AsiHttpRequest/ASIFormDataRequest.m
  50. +226 −54 {Classes → TransloaditSDK}/AsiHttpRequest/ASIHTTPRequest.h
  51. +2,038 −971 {Classes → TransloaditSDK}/AsiHttpRequest/ASIHTTPRequest.m
  52. +11 −0 {Classes → TransloaditSDK}/AsiHttpRequest/ASIHTTPRequestConfig.h
  53. +3 −1 {Classes → TransloaditSDK}/AsiHttpRequest/ASIHTTPRequestDelegate.h
  54. 0 {Classes → TransloaditSDK}/AsiHttpRequest/ASIInputStream.h
  55. +15 −13 {Classes → TransloaditSDK}/AsiHttpRequest/ASIInputStream.m
  56. +7 −1 {Classes → TransloaditSDK}/AsiHttpRequest/ASINetworkQueue.h
  57. +38 −17 {Classes → TransloaditSDK}/AsiHttpRequest/ASINetworkQueue.m
  58. 0 {Classes → TransloaditSDK}/AsiHttpRequest/ASIProgressDelegate.h
  59. +251 −0 TransloaditSDK/JSONKit/JSONKit.h
  60. +3,059 −0 TransloaditSDK/JSONKit/JSONKit.m
  61. +1 −0 { → TransloaditSDK/Reachability}/Reachability.h
  62. 0 { → TransloaditSDK/Reachability}/Reachability.m
  63. +7 −10 {Classes/Transloadit → TransloaditSDK}/TransloaditRequest.h
  64. +86 −13 {Classes/Transloadit → TransloaditSDK}/TransloaditRequest.m
View
@@ -13,7 +13,11 @@
*.mode2v3
*.pbxuser
*.perspectivev3
+*.xcuserstate
+*.xcodeproj/xcuserdata/
+*.xcodeproj/project.xcworkspace/xcuserdata/
+*.xcodeproj/project.xcworkspace/contents.xcworkspacedata
# Localized tmp files
Localizable.strings.new
-Localizable.strings.old
+Localizable.strings.old
@@ -1,55 +0,0 @@
-//
-// ASICacheDelegate.h
-// Part of ASIHTTPRequest -> http://allseeing-i.com/ASIHTTPRequest
-//
-// Created by Ben Copsey on 01/05/2010.
-// Copyright 2010 All-Seeing Interactive. All rights reserved.
-//
-
-#import <Foundation/Foundation.h>
-@class ASIHTTPRequest;
-
-typedef enum _ASICachePolicy {
- ASIDefaultCachePolicy = 0,
- ASIIgnoreCachePolicy = 1,
- ASIReloadIfDifferentCachePolicy = 2,
- ASIOnlyLoadIfNotCachedCachePolicy = 3,
- ASIUseCacheIfLoadFailsCachePolicy = 4
-} ASICachePolicy;
-
-typedef enum _ASICacheStoragePolicy {
- ASICacheForSessionDurationCacheStoragePolicy = 0,
- ASICachePermanentlyCacheStoragePolicy = 1
-} ASICacheStoragePolicy;
-
-
-@protocol ASICacheDelegate <NSObject>
-
-@required
-
-// Should return the cache policy that will be used when requests have their cache policy set to ASIDefaultCachePolicy
-- (ASICachePolicy)defaultCachePolicy;
-
-// Should Remove cached data for a particular request
-- (void)removeCachedDataForRequest:(ASIHTTPRequest *)request;
-
-// Should return YES if the cache considers its cached response current for the request
-// Should return NO is the data is not cached, or (for example) if the cached headers state the request should have expired
-- (BOOL)isCachedDataCurrentForRequest:(ASIHTTPRequest *)request;
-
-// Should store the response for the passed request in the cache
-// When a non-zero maxAge is passed, it should be used as the expiry time for the cached response
-- (void)storeResponseForRequest:(ASIHTTPRequest *)request maxAge:(NSTimeInterval)maxAge;
-
-// Should return an NSDictionary of cached headers for the passed request, if it is stored in the cache
-- (NSDictionary *)cachedHeadersForRequest:(ASIHTTPRequest *)request;
-
-// Should return the cached body of a response for the passed request, if it is stored in the cache
-- (NSData *)cachedResponseDataForRequest:(ASIHTTPRequest *)request;
-
-// Same as the above, but returns a path to the cached response body instead
-- (NSString *)pathToCachedResponseDataForRequest:(ASIHTTPRequest *)request;
-
-// Clear cached data stored for the passed storage policy
-- (void)clearCachedResponsesForStoragePolicy:(ASICacheStoragePolicy)cachePolicy;
-@end
Oops, something went wrong.

0 comments on commit bbe106a

Please sign in to comment.