Permalink
Browse files

async download of data

  • Loading branch information...
1 parent dc08bba commit 69b694641e0ab76bae05f4c6b339398b404e1d84 @davidchiles committed Feb 8, 2012
Showing with 21,954 additions and 27 deletions.
  1. BIN .DS_Store
  2. +35 −0 Classes/ASIAuthenticationDialog.h
  3. +493 −0 Classes/ASIAuthenticationDialog.m
  4. +103 −0 Classes/ASICacheDelegate.h
  5. +42 −0 Classes/ASIDataCompressor.h
  6. +219 −0 Classes/ASIDataCompressor.m
  7. +41 −0 Classes/ASIDataDecompressor.h
  8. +218 −0 Classes/ASIDataDecompressor.m
  9. +46 −0 Classes/ASIDownloadCache.h
  10. +514 −0 Classes/ASIDownloadCache.m
  11. +76 −0 Classes/ASIFormDataRequest.h
  12. +362 −0 Classes/ASIFormDataRequest.m
  13. +1,004 −0 Classes/ASIHTTPRequest.h
  14. +5,125 −0 Classes/ASIHTTPRequest.m
  15. +43 −0 Classes/ASIHTTPRequestConfig.h
  16. +35 −0 Classes/ASIHTTPRequestDelegate.h
  17. +26 −0 Classes/ASIInputStream.h
  18. +138 −0 Classes/ASIInputStream.m
  19. +108 −0 Classes/ASINetworkQueue.h
  20. +343 −0 Classes/ASINetworkQueue.m
  21. +38 −0 Classes/ASIProgressDelegate.h
  22. +80 −0 Classes/ASIWebPageRequest/ASIWebPageRequest.h
  23. +722 −0 Classes/ASIWebPageRequest/ASIWebPageRequest.m
  24. +60 −0 Classes/CloudFiles/ASICloudFilesCDNRequest.h
  25. +167 −0 Classes/CloudFiles/ASICloudFilesCDNRequest.m
  26. +41 −0 Classes/CloudFiles/ASICloudFilesContainer.h
  27. +31 −0 Classes/CloudFiles/ASICloudFilesContainer.m
  28. +43 −0 Classes/CloudFiles/ASICloudFilesContainerRequest.h
  29. +134 −0 Classes/CloudFiles/ASICloudFilesContainerRequest.m
  30. +31 −0 Classes/CloudFiles/ASICloudFilesContainerXMLParserDelegate.h
  31. +72 −0 Classes/CloudFiles/ASICloudFilesContainerXMLParserDelegate.m
  32. +30 −0 Classes/CloudFiles/ASICloudFilesObject.h
  33. +29 −0 Classes/CloudFiles/ASICloudFilesObject.m
  34. +71 −0 Classes/CloudFiles/ASICloudFilesObjectRequest.h
  35. +261 −0 Classes/CloudFiles/ASICloudFilesObjectRequest.m
  36. +40 −0 Classes/CloudFiles/ASICloudFilesRequest.h
  37. +129 −0 Classes/CloudFiles/ASICloudFilesRequest.m
  38. +23 −0 Classes/S3/ASINSXMLParserCompat.h
  39. +34 −0 Classes/S3/ASIS3Bucket.h
  40. +40 −0 Classes/S3/ASIS3Bucket.m
  41. +54 −0 Classes/S3/ASIS3BucketObject.h
  42. +74 −0 Classes/S3/ASIS3BucketObject.m
  43. +72 −0 Classes/S3/ASIS3BucketRequest.h
  44. +175 −0 Classes/S3/ASIS3BucketRequest.m
  45. +80 −0 Classes/S3/ASIS3ObjectRequest.h
  46. +164 −0 Classes/S3/ASIS3ObjectRequest.m
  47. +109 −0 Classes/S3/ASIS3Request.h
  48. +312 −0 Classes/S3/ASIS3Request.m
  49. +31 −0 Classes/S3/ASIS3ServiceRequest.h
  50. +80 −0 Classes/S3/ASIS3ServiceRequest.m
  51. +18 −0 Classes/Tests/ASICloudFilesRequestTests.h
  52. +338 −0 Classes/Tests/ASICloudFilesRequestTests.m
  53. +16 −0 Classes/Tests/ASIDataCompressorTests.h
  54. +179 −0 Classes/Tests/ASIDataCompressorTests.m
  55. +17 −0 Classes/Tests/ASIDownloadCacheTests.h
  56. +562 −0 Classes/Tests/ASIDownloadCacheTests.m
  57. +24 −0 Classes/Tests/ASIFormDataRequestTests.h
  58. +299 −0 Classes/Tests/ASIFormDataRequestTests.m
  59. +64 −0 Classes/Tests/ASIHTTPRequestTests.h
  60. +2,001 −0 Classes/Tests/ASIHTTPRequestTests.m
  61. +83 −0 Classes/Tests/ASINetworkQueueTests.h
  62. +1,274 −0 Classes/Tests/ASINetworkQueueTests.m
  63. +28 −0 Classes/Tests/ASIS3RequestTests.h
  64. +860 −0 Classes/Tests/ASIS3RequestTests.m
  65. +20 −0 Classes/Tests/ASITestCase.h
  66. +23 −0 Classes/Tests/ASITestCase.m
  67. +16 −0 Classes/Tests/ASIWebPageRequestTests.h
  68. +41 −0 Classes/Tests/ASIWebPageRequestTests.m
  69. +16 −0 Classes/Tests/BlocksTests.h
  70. +105 −0 Classes/Tests/BlocksTests.m
  71. +21 −0 Classes/Tests/ClientCertificateTests.h
  72. +76 −0 Classes/Tests/ClientCertificateTests.m
  73. +89 −0 Classes/Tests/GHUnitTestMain.m
  74. +28 −0 Classes/Tests/PerformanceTests.h
  75. +234 −0 Classes/Tests/PerformanceTests.m
  76. +29 −0 Classes/Tests/ProxyTests.h
  77. +203 −0 Classes/Tests/ProxyTests.m
  78. +46 −0 Classes/Tests/StressTests.h
  79. +192 −0 Classes/Tests/StressTests.m
  80. +13 −0 OPEEditView.h
  81. +51 −0 OPEEditView.m
  82. +108 −0 OPEEditView.xib
  83. +302 −8 OSM POI Editor.xcodeproj/project.pbxproj
  84. BIN ... Editor.xcodeproj/project.xcworkspace/xcuserdata/David.xcuserdatad/UserInterfaceState.xcuserstate
  85. +3 −3 OSM POI Editor.xcodeproj/xcuserdata/David.xcuserdatad/xcdebugger/Breakpoints.xcbkptlist
  86. +1 −0 OSM POI Editor/OPENode.h
  87. +14 −0 OSM POI Editor/OPENode.m
  88. +1 −1 OSM POI Editor/OPEOSMData.h
  89. +29 −5 OSM POI Editor/OPEOSMData.m
  90. +10 −2 OSM POI Editor/OPEViewController.h
  91. +88 −8 OSM POI Editor/OPEViewController.m
  92. +194 −0 Reachability/Reachability.h
  93. +814 −0 Reachability/Reachability.m
  94. +155 −0 SPOI.bundle/.svn/all-wcprops
  95. +878 −0 SPOI.bundle/.svn/entries
  96. +9 −0 SPOI.bundle/.svn/prop-base/BackLine.png.svn-base
  97. +9 −0 SPOI.bundle/.svn/prop-base/CloseButton.png.svn-base
  98. +9 −0 SPOI.bundle/.svn/prop-base/GrayCircle.png.svn-base
  99. +9 −0 SPOI.bundle/.svn/prop-base/LeftActive.png.svn-base
  100. +9 −0 SPOI.bundle/.svn/prop-base/LeftDisabled.png.svn-base
  101. +9 −0 SPOI.bundle/.svn/prop-base/Regular.png.svn-base
  102. +9 −0 SPOI.bundle/.svn/prop-base/RightActive.png.svn-base
  103. +9 −0 SPOI.bundle/.svn/prop-base/RightDisabled.png.svn-base
  104. +9 −0 SPOI.bundle/.svn/prop-base/Sponsored.png.svn-base
  105. +9 −0 SPOI.bundle/.svn/prop-base/Sponsored_old.png.svn-base
  106. +9 −0 SPOI.bundle/.svn/prop-base/WhiteCircle.png.svn-base
  107. +5 −0 SPOI.bundle/.svn/prop-base/browser_next.png.svn-base
  108. +5 −0 SPOI.bundle/.svn/prop-base/browser_prev.png.svn-base
  109. +5 −0 SPOI.bundle/.svn/prop-base/callout_center.png.svn-base
  110. +5 −0 SPOI.bundle/.svn/prop-base/callout_fill.png.svn-base
  111. +5 −0 SPOI.bundle/.svn/prop-base/callout_left.png.svn-base
  112. +5 −0 SPOI.bundle/.svn/prop-base/callout_right.png.svn-base
  113. +5 −0 SPOI.bundle/.svn/prop-base/loading.png.svn-base
  114. +9 −0 SPOI.bundle/.svn/prop-base/nametag-center.png.svn-base
  115. +9 −0 SPOI.bundle/.svn/prop-base/nametag-left.png.svn-base
  116. +9 −0 SPOI.bundle/.svn/prop-base/nametag-right.png.svn-base
  117. +9 −0 SPOI.bundle/.svn/prop-base/nametag-span.png.svn-base
  118. +9 −0 SPOI.bundle/.svn/prop-base/pager_panel.png.svn-base
  119. +9 −0 SPOI.bundle/.svn/prop-base/placeholder100.png.svn-base
  120. +5 −0 SPOI.bundle/.svn/prop-base/routepanel_back.png.svn-base
  121. BIN SPOI.bundle/.svn/text-base/BackLine.png.svn-base
  122. BIN SPOI.bundle/.svn/text-base/CloseButton.png.svn-base
  123. BIN SPOI.bundle/.svn/text-base/GrayCircle.png.svn-base
  124. BIN SPOI.bundle/.svn/text-base/LeftActive.png.svn-base
  125. BIN SPOI.bundle/.svn/text-base/LeftDisabled.png.svn-base
  126. BIN SPOI.bundle/.svn/text-base/Regular.png.svn-base
  127. BIN SPOI.bundle/.svn/text-base/RightActive.png.svn-base
  128. BIN SPOI.bundle/.svn/text-base/RightDisabled.png.svn-base
  129. BIN SPOI.bundle/.svn/text-base/Sponsored.png.svn-base
  130. BIN SPOI.bundle/.svn/text-base/Sponsored_old.png.svn-base
  131. BIN SPOI.bundle/.svn/text-base/WhiteCircle.png.svn-base
  132. BIN SPOI.bundle/.svn/text-base/browser_next.png.svn-base
  133. BIN SPOI.bundle/.svn/text-base/browser_prev.png.svn-base
  134. BIN SPOI.bundle/.svn/text-base/callout_center.png.svn-base
  135. BIN SPOI.bundle/.svn/text-base/callout_fill.png.svn-base
  136. BIN SPOI.bundle/.svn/text-base/callout_left.png.svn-base
  137. BIN SPOI.bundle/.svn/text-base/callout_right.png.svn-base
  138. BIN SPOI.bundle/.svn/text-base/loading.png.svn-base
  139. BIN SPOI.bundle/.svn/text-base/nametag-center.png.svn-base
  140. BIN SPOI.bundle/.svn/text-base/nametag-left.png.svn-base
  141. BIN SPOI.bundle/.svn/text-base/nametag-right.png.svn-base
  142. BIN SPOI.bundle/.svn/text-base/nametag-span.png.svn-base
  143. BIN SPOI.bundle/.svn/text-base/pager_panel.png.svn-base
  144. BIN SPOI.bundle/.svn/text-base/placeholder100.png.svn-base
  145. BIN SPOI.bundle/.svn/text-base/routepanel_back.png.svn-base
  146. BIN SPOI.bundle/BackLine.png
  147. BIN SPOI.bundle/CloseButton.png
  148. BIN SPOI.bundle/GrayCircle.png
  149. BIN SPOI.bundle/LeftActive.png
  150. BIN SPOI.bundle/LeftDisabled.png
  151. BIN SPOI.bundle/Regular.png
  152. BIN SPOI.bundle/RightActive.png
  153. BIN SPOI.bundle/RightDisabled.png
  154. BIN SPOI.bundle/Sponsored.png
  155. BIN SPOI.bundle/Sponsored_old.png
  156. BIN SPOI.bundle/WhiteCircle.png
  157. BIN SPOI.bundle/browser_next.png
  158. BIN SPOI.bundle/browser_prev.png
  159. BIN SPOI.bundle/callout_center.png
  160. BIN SPOI.bundle/callout_fill.png
  161. BIN SPOI.bundle/callout_left.png
  162. BIN SPOI.bundle/callout_right.png
  163. BIN SPOI.bundle/loading.png
  164. BIN SPOI.bundle/nametag-center.png
  165. BIN SPOI.bundle/nametag-left.png
  166. BIN SPOI.bundle/nametag-right.png
  167. BIN SPOI.bundle/nametag-span.png
  168. BIN SPOI.bundle/pager_panel.png
  169. BIN SPOI.bundle/placeholder100.png
  170. BIN SPOI.bundle/routepanel_back.png
View
BIN .DS_Store
Binary file not shown.
@@ -0,0 +1,35 @@
+//
+// ASIAuthenticationDialog.h
+// Part of ASIHTTPRequest -> http://allseeing-i.com/ASIHTTPRequest
+//
+// Created by Ben Copsey on 21/08/2009.
+// Copyright 2009 All-Seeing Interactive. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import <UIKit/UIKit.h>
+@class ASIHTTPRequest;
+
+typedef enum _ASIAuthenticationType {
+ ASIStandardAuthenticationType = 0,
+ ASIProxyAuthenticationType = 1
+} ASIAuthenticationType;
+
+@interface ASIAutorotatingViewController : UIViewController
+@end
+
+@interface ASIAuthenticationDialog : ASIAutorotatingViewController <UIActionSheetDelegate, UITableViewDelegate, UITableViewDataSource> {
+ ASIHTTPRequest *request;
+ ASIAuthenticationType type;
+ UITableView *tableView;
+ UIViewController *presentingController;
+ BOOL didEnableRotationNotifications;
+}
++ (void)presentAuthenticationDialogForRequest:(ASIHTTPRequest *)request;
++ (void)dismiss;
+
+@property (retain) ASIHTTPRequest *request;
+@property (assign) ASIAuthenticationType type;
+@property (assign) BOOL didEnableRotationNotifications;
+@property (retain, nonatomic) UIViewController *presentingController;
+@end
Oops, something went wrong.

0 comments on commit 69b6946

Please sign in to comment.