Browse files

AWS SDK for iOS 1.0.0

  • Loading branch information...
1 parent b37792a commit 9e1ad59dcc95476ab3d6c6c412566d4e24d6227a amazonwebservices committed Sep 7, 2011
Showing with 232,796 additions and 214 deletions.
  1. +8 −79 README.html
  2. +524 −0 samples/AWSiOSDemo/AWSiOSDemo.xcodeproj/project.pbxproj
  3. +1 −1 ...iosDEMO.xcodeproj → AWSiOSDemo/AWSiOSDemo.xcodeproj}/project.xcworkspace/contents.xcworkspacedata
  4. +10 −2 samples/{awsBrowser/AWSiosDEMO-Info.plist → AWSiOSDemo/AWSiOSDemo/AWSiOSDemo-Info.plist}
  5. +14 −0 samples/AWSiOSDemo/AWSiOSDemo/AWSiOSDemo-Prefix.pch
  6. +4 −4 samples/{awsBrowser/Classes/AWSiosDEMOAppDelegate.h → AWSiOSDemo/AWSiOSDemo/AWSiOSDemoAppDelegate.h}
  7. +8 −7 samples/{awsBrowser/Classes/AWSiosDEMOAppDelegate.m → AWSiOSDemo/AWSiOSDemo/AWSiOSDemoAppDelegate.m}
  8. +1 −1 ...awsBrowser/Classes/AWSiosDEMOViewController.h → AWSiOSDemo/AWSiOSDemo/AWSiOSDemoViewController.h}
  9. +14 −15 ...awsBrowser/Classes/AWSiosDEMOViewController.m → AWSiOSDemo/AWSiOSDemo/AWSiOSDemoViewController.m}
  10. +37 −0 samples/AWSiOSDemo/AWSiOSDemo/Classes/AmazonClientManager.h
  11. +37 −17 samples/{awsBrowser/Classes/S3/Constants.m → AWSiOSDemo/AWSiOSDemo/Classes/AmazonClientManager.m}
  12. +2 −13 samples/{awsBrowser/Classes/S3 → AWSiOSDemo/AWSiOSDemo/Classes}/Constants.h
  13. +26 −0 samples/AWSiOSDemo/AWSiOSDemo/Classes/Constants.m
  14. 0 samples/{awsBrowser → AWSiOSDemo/AWSiOSDemo}/Classes/S3/AddBucketViewController.h
  15. +3 −3 samples/{awsBrowser → AWSiOSDemo/AWSiOSDemo}/Classes/S3/AddBucketViewController.m
  16. 0 samples/{awsBrowser → AWSiOSDemo/AWSiOSDemo}/Classes/S3/AddBucketViewController.xib
  17. 0 samples/{awsBrowser → AWSiOSDemo/AWSiOSDemo}/Classes/S3/AddObjectViewController.h
  18. +3 −3 samples/{awsBrowser → AWSiOSDemo/AWSiOSDemo}/Classes/S3/AddObjectViewController.m
  19. 0 samples/{awsBrowser → AWSiOSDemo/AWSiOSDemo}/Classes/S3/AddObjectViewController.xib
  20. 0 samples/{awsBrowser → AWSiOSDemo/AWSiOSDemo}/Classes/S3/BucketList.h
  21. +5 −5 samples/{awsBrowser → AWSiOSDemo/AWSiOSDemo}/Classes/S3/BucketList.m
  22. 0 samples/{awsBrowser → AWSiOSDemo/AWSiOSDemo}/Classes/S3/BucketList.xib
  23. 0 samples/{awsBrowser → AWSiOSDemo/AWSiOSDemo}/Classes/S3/ObjectListing.h
  24. +6 −6 samples/{awsBrowser → AWSiOSDemo/AWSiOSDemo}/Classes/S3/ObjectListing.m
  25. 0 samples/{awsBrowser → AWSiOSDemo/AWSiOSDemo}/Classes/S3/ObjectListing.xib
  26. 0 samples/{awsBrowser → AWSiOSDemo/AWSiOSDemo}/Classes/S3/ObjectViewController.h
  27. +3 −3 samples/{awsBrowser → AWSiOSDemo/AWSiOSDemo}/Classes/S3/ObjectViewController.m
  28. 0 samples/{awsBrowser → AWSiOSDemo/AWSiOSDemo}/Classes/S3/ObjectViewController.xib
  29. +1 −1 samples/{awsBrowser → AWSiOSDemo/AWSiOSDemo}/Classes/S3/S3AsyncViewController.h
  30. +6 −6 samples/{awsBrowser → AWSiOSDemo/AWSiOSDemo}/Classes/S3/S3AsyncViewController.m
  31. 0 samples/{awsBrowser → AWSiOSDemo/AWSiOSDemo}/Classes/S3/S3AsyncViewController.xib
  32. 0 samples/{awsBrowser/Classes → AWSiOSDemo/AWSiOSDemo/Classes/S3}/S3RequestDelegate.h
  33. 0 samples/{awsBrowser/Classes → AWSiOSDemo/AWSiOSDemo/Classes/S3}/S3RequestDelegate.m
  34. 0 samples/{awsBrowser/Classes → AWSiOSDemo/AWSiOSDemo/Classes/SDB}/DomainList.h
  35. +3 −3 samples/{awsBrowser/Classes → AWSiOSDemo/AWSiOSDemo/Classes/SDB}/DomainList.m
  36. 0 samples/{awsBrowser/Classes → AWSiOSDemo/AWSiOSDemo/Classes/SDB}/DomainList.xib
  37. 0 samples/{awsBrowser/Classes → AWSiOSDemo/AWSiOSDemo/Classes/SDB}/ItemListing.h
  38. +3 −3 samples/{awsBrowser/Classes → AWSiOSDemo/AWSiOSDemo/Classes/SDB}/ItemListing.m
  39. 0 samples/{awsBrowser/Classes → AWSiOSDemo/AWSiOSDemo/Classes/SDB}/ItemListing.xib
  40. 0 samples/{awsBrowser/Classes → AWSiOSDemo/AWSiOSDemo/Classes/SDB}/ItemViewController.h
  41. +3 −3 samples/{awsBrowser/Classes → AWSiOSDemo/AWSiOSDemo/Classes/SDB}/ItemViewController.m
  42. 0 samples/{awsBrowser/Classes → AWSiOSDemo/AWSiOSDemo/Classes/SDB}/ItemViewController.xib
  43. +1 −1 samples/{awsBrowser/Classes → AWSiOSDemo/AWSiOSDemo/Classes/SDB}/SdbAsyncViewController.h
  44. +4 −3 samples/{awsBrowser/Classes → AWSiOSDemo/AWSiOSDemo/Classes/SDB}/SdbAsyncViewController.m
  45. 0 samples/{awsBrowser/Classes → AWSiOSDemo/AWSiOSDemo/Classes/SDB}/SdbAsyncViewController.xib
  46. 0 samples/{awsBrowser/Classes → AWSiOSDemo/AWSiOSDemo/Classes/SDB}/SdbRequestDelegate.h
  47. 0 samples/{awsBrowser/Classes → AWSiOSDemo/AWSiOSDemo/Classes/SDB}/SdbRequestDelegate.m
  48. 0 samples/{awsBrowser → AWSiOSDemo/AWSiOSDemo}/Classes/SNS/TopicList.h
  49. +3 −3 samples/{awsBrowser → AWSiOSDemo/AWSiOSDemo}/Classes/SNS/TopicList.m
  50. 0 samples/{awsBrowser → AWSiOSDemo/AWSiOSDemo}/Classes/SNS/TopicList.xib
  51. 0 samples/{awsBrowser/Classes → AWSiOSDemo/AWSiOSDemo/Classes/SQS}/AddQueue.h
  52. +4 −3 samples/{awsBrowser/Classes → AWSiOSDemo/AWSiOSDemo/Classes/SQS}/AddQueue.m
  53. 0 samples/{awsBrowser/Classes → AWSiOSDemo/AWSiOSDemo/Classes/SQS}/AddQueue.xib
  54. 0 samples/{awsBrowser/Classes → AWSiOSDemo/AWSiOSDemo/Classes/SQS}/Message.h
  55. 0 samples/{awsBrowser/Classes → AWSiOSDemo/AWSiOSDemo/Classes/SQS}/Message.m
  56. 0 samples/{awsBrowser/Classes → AWSiOSDemo/AWSiOSDemo/Classes/SQS}/Message.xib
  57. 0 samples/{awsBrowser/Classes → AWSiOSDemo/AWSiOSDemo/Classes/SQS}/MessageList.h
  58. +5 −5 samples/{awsBrowser/Classes → AWSiOSDemo/AWSiOSDemo/Classes/SQS}/MessageList.m
  59. 0 samples/{awsBrowser/Classes → AWSiOSDemo/AWSiOSDemo/Classes/SQS}/MessageList.xib
  60. 0 samples/{awsBrowser → AWSiOSDemo/AWSiOSDemo}/Classes/SQS/QueueList.h
  61. +6 −6 samples/{awsBrowser → AWSiOSDemo/AWSiOSDemo}/Classes/SQS/QueueList.m
  62. 0 samples/{awsBrowser → AWSiOSDemo/AWSiOSDemo}/Classes/SQS/QueueList.xib
  63. 0 samples/{awsBrowser/Classes → AWSiOSDemo/AWSiOSDemo/Classes/SQS}/SendMessage.h
  64. +3 −3 samples/{awsBrowser/Classes → AWSiOSDemo/AWSiOSDemo/Classes/SQS}/SendMessage.m
  65. 0 samples/{awsBrowser/Classes → AWSiOSDemo/AWSiOSDemo/Classes/SQS}/SendMessage.xib
  66. 0 samples/{awsBrowser → AWSiOSDemo/AWSiOSDemo}/Classes/temp.txt
  67. 0 ...owser/AWSiosDEMOViewController.xib → AWSiOSDemo/AWSiOSDemo/en.lproj/AWSiOSDemoViewController.xib}
  68. +2 −0 samples/AWSiOSDemo/AWSiOSDemo/en.lproj/InfoPlist.strings
  69. +12 −12 samples/{awsBrowser → AWSiOSDemo/AWSiOSDemo/en.lproj}/MainWindow.xib
  70. +2 −3 samples/{awsBrowser → AWSiOSDemo/AWSiOSDemo}/main.m
  71. +16 −0 samples/AWSiOSDemo/README.html
  72. +616 −0 samples/AWSiOSDemoTVM/AWSiOSDemoTVM.xcodeproj/project.pbxproj
  73. +7 −0 samples/AWSiOSDemoTVM/AWSiOSDemoTVM.xcodeproj/project.xcworkspace/contents.xcworkspacedata
  74. +46 −0 samples/AWSiOSDemoTVM/AWSiOSDemoTVM/AWSiOSDemoTVM-Info.plist
  75. +14 −0 samples/AWSiOSDemoTVM/AWSiOSDemoTVM/AWSiOSDemoTVM-Prefix.pch
  76. +29 −0 samples/AWSiOSDemoTVM/AWSiOSDemoTVM/AWSiOSDemoTVMAppDelegate.h
  77. +45 −0 samples/AWSiOSDemoTVM/AWSiOSDemoTVM/AWSiOSDemoTVMAppDelegate.m
  78. +31 −0 samples/AWSiOSDemoTVM/AWSiOSDemoTVM/AWSiOSDemoTVMViewController.h
  79. +162 −0 samples/AWSiOSDemoTVM/AWSiOSDemoTVM/AWSiOSDemoTVMViewController.m
  80. +39 −0 samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/AmazonClientManager.h
  81. +113 −0 samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/AmazonClientManager.m
  82. +44 −0 samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/Constants.h
  83. +36 −0 samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/Constants.m
  84. +26 −0 samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/S3/AddBucketViewController.h
  85. +60 −0 samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/S3/AddBucketViewController.m
  86. +586 −0 samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/S3/AddBucketViewController.xib
  87. +32 −0 samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/S3/AddObjectViewController.h
  88. +66 −0 samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/S3/AddObjectViewController.m
  89. +676 −0 samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/S3/AddObjectViewController.xib
  90. +28 −0 samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/S3/BucketList.h
  91. +149 −0 samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/S3/BucketList.m
  92. +573 −0 samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/S3/BucketList.xib
  93. +32 −0 samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/S3/ObjectListing.h
  94. +176 −0 samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/S3/ObjectListing.m
  95. +538 −0 samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/S3/ObjectListing.xib
  96. +35 −0 samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/S3/ObjectViewController.h
  97. +60 −0 samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/S3/ObjectViewController.m
  98. +393 −0 samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/S3/ObjectViewController.xib
  99. +40 −0 samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/S3/S3AsyncViewController.h
  100. +113 −0 samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/S3/S3AsyncViewController.m
  101. +548 −0 samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/S3/S3AsyncViewController.xib
  102. +45 −0 samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/S3/S3RequestDelegate.h
  103. +101 −0 samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/S3/S3RequestDelegate.m
  104. +26 −0 samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SDB/DomainList.h
  105. +108 −0 samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SDB/DomainList.m
  106. +556 −0 samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SDB/DomainList.xib
  107. +30 −0 samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SDB/ItemListing.h
  108. +118 −0 samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SDB/ItemListing.m
  109. +522 −0 samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SDB/ItemListing.xib
  110. +32 −0 samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SDB/ItemViewController.h
  111. +100 −0 samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SDB/ItemViewController.m
  112. +520 −0 samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SDB/ItemViewController.xib
  113. +47 −0 samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SDB/SdbAsyncViewController.h
  114. +169 −0 samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SDB/SdbAsyncViewController.m
  115. +547 −0 samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SDB/SdbAsyncViewController.xib
  116. +46 −0 samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SDB/SdbRequestDelegate.h
  117. +100 −0 samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SDB/SdbRequestDelegate.m
  118. +26 −0 samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SNS/TopicList.h
  119. +100 −0 samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SNS/TopicList.m
  120. +321 −0 samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SNS/TopicList.xib
  121. +26 −0 samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SQS/AddQueue.h
  122. +46 −0 samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SQS/AddQueue.m
  123. +384 −0 samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SQS/AddQueue.xib
  124. +30 −0 samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SQS/Message.h
  125. +44 −0 samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SQS/Message.m
  126. +407 −0 samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SQS/Message.xib
  127. +31 −0 samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SQS/MessageList.h
  128. +144 −0 samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SQS/MessageList.m
  129. +336 −0 samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SQS/MessageList.xib
  130. +28 −0 samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SQS/QueueList.h
  131. +158 −0 samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SQS/QueueList.m
  132. +368 −0 samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SQS/QueueList.xib
  133. +32 −0 samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SQS/SendMessage.h
  134. +60 −0 samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SQS/SendMessage.m
  135. +478 −0 samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/SQS/SendMessage.xib
  136. +41 −0 samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/AmazonKeyChainWrapper.h
  137. +184 −0 samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/AmazonKeyChainWrapper.m
  138. +37 −0 samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/AmazonTVMClient.h
  139. +140 −0 samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/AmazonTVMClient.m
  140. +31 −0 samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/Crypto.h
  141. +93 −0 samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/Crypto.m
  142. +31 −0 samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/GetTokenRequest.h
  143. +52 −0 samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/GetTokenRequest.m
  144. +33 −0 samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/GetTokenResponse.h
  145. +48 −0 samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/GetTokenResponse.m
  146. +25 −0 samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/GetTokenResponseHandler.h
  147. +57 −0 samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/GetTokenResponseHandler.m
  148. +25 −0 samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/JSONUtilities.h
  149. +38 −0 samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/JSONUtilities.m
  150. +31 −0 samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/RegisterDeviceRequest.h
  151. +47 −0 samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/RegisterDeviceRequest.m
  152. +24 −0 samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/Request.h
  153. +26 −0 samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/Request.m
  154. +32 −0 samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/RequestDelegate.h
  155. +85 −0 samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/RequestDelegate.m
  156. +30 −0 samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/Response.h
  157. +45 −0 samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/Response.m
  158. +24 −0 samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/ResponseHandler.h
  159. +27 −0 samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/TVMClient/ResponseHandler.m
  160. +214,201 −0 samples/AWSiOSDemoTVM/AWSiOSDemoTVM/Classes/temp.txt
  161. +516 −0 samples/AWSiOSDemoTVM/AWSiOSDemoTVM/en.lproj/AWSiOSDemoTVMViewController.xib
  162. +2 −0 samples/AWSiOSDemoTVM/AWSiOSDemoTVM/en.lproj/InfoPlist.strings
  163. +444 −0 samples/AWSiOSDemoTVM/AWSiOSDemoTVM/en.lproj/MainWindow.xib
  164. +24 −0 samples/AWSiOSDemoTVM/AWSiOSDemoTVM/main.m
  165. +18 −0 samples/AWSiOSDemoTVM/README.html
  166. +630 −0 samples/AWSiOSDemoTVMIdentity/AWSiOSDemoTVMIdentity.xcodeproj/project.pbxproj
  167. +7 −0 ...WSiOSDemoTVMIdentity/AWSiOSDemoTVMIdentity.xcodeproj/project.xcworkspace/contents.xcworkspacedata
  168. +46 −0 samples/AWSiOSDemoTVMIdentity/AWSiOSDemoTVMIdentity/AWSiOSDemoTVMIdentity-Info.plist
  169. +14 −0 samples/AWSiOSDemoTVMIdentity/AWSiOSDemoTVMIdentity/AWSiOSDemoTVMIdentity-Prefix.pch
  170. +29 −0 samples/AWSiOSDemoTVMIdentity/AWSiOSDemoTVMIdentity/AWSiOSDemoTVMIdentityAppDelegate.h
  171. +46 −0 samples/AWSiOSDemoTVMIdentity/AWSiOSDemoTVMIdentity/AWSiOSDemoTVMIdentityAppDelegate.m
  172. +32 −0 samples/AWSiOSDemoTVMIdentity/AWSiOSDemoTVMIdentity/AWSiOSDemoTVMIdentityViewController.h
  173. +188 −0 samples/AWSiOSDemoTVMIdentity/AWSiOSDemoTVMIdentity/AWSiOSDemoTVMIdentityViewController.m
  174. BIN samples/AWSiOSDemoTVMIdentity/AWSiOSDemoTVMIdentity/Classes/.DS_Store
  175. +46 −0 samples/AWSiOSDemoTVMIdentity/AWSiOSDemoTVMIdentity/Classes/AmazonClientManager.h
  176. +123 −0 samples/AWSiOSDemoTVMIdentity/AWSiOSDemoTVMIdentity/Classes/AmazonClientManager.m
  177. +52 −0 samples/AWSiOSDemoTVMIdentity/AWSiOSDemoTVMIdentity/Classes/Constants.h
  178. +36 −0 samples/AWSiOSDemoTVMIdentity/AWSiOSDemoTVMIdentity/Classes/Constants.m
  179. +28 −0 samples/AWSiOSDemoTVMIdentity/AWSiOSDemoTVMIdentity/Classes/LoginViewController.h
  180. +46 −0 samples/AWSiOSDemoTVMIdentity/AWSiOSDemoTVMIdentity/Classes/LoginViewController.m
  181. +479 −0 samples/AWSiOSDemoTVMIdentity/AWSiOSDemoTVMIdentity/Classes/LoginViewController.xib
  182. +26 −0 samples/AWSiOSDemoTVMIdentity/AWSiOSDemoTVMIdentity/Classes/S3/AddBucketViewController.h
  183. +60 −0 samples/AWSiOSDemoTVMIdentity/AWSiOSDemoTVMIdentity/Classes/S3/AddBucketViewController.m
  184. +586 −0 samples/AWSiOSDemoTVMIdentity/AWSiOSDemoTVMIdentity/Classes/S3/AddBucketViewController.xib
  185. +32 −0 samples/AWSiOSDemoTVMIdentity/AWSiOSDemoTVMIdentity/Classes/S3/AddObjectViewController.h
  186. +66 −0 samples/AWSiOSDemoTVMIdentity/AWSiOSDemoTVMIdentity/Classes/S3/AddObjectViewController.m
  187. +676 −0 samples/AWSiOSDemoTVMIdentity/AWSiOSDemoTVMIdentity/Classes/S3/AddObjectViewController.xib
  188. +28 −0 samples/AWSiOSDemoTVMIdentity/AWSiOSDemoTVMIdentity/Classes/S3/BucketList.h
  189. +149 −0 samples/AWSiOSDemoTVMIdentity/AWSiOSDemoTVMIdentity/Classes/S3/BucketList.m
  190. +573 −0 samples/AWSiOSDemoTVMIdentity/AWSiOSDemoTVMIdentity/Classes/S3/BucketList.xib
  191. +32 −0 samples/AWSiOSDemoTVMIdentity/AWSiOSDemoTVMIdentity/Classes/S3/ObjectListing.h
  192. +176 −0 samples/AWSiOSDemoTVMIdentity/AWSiOSDemoTVMIdentity/Classes/S3/ObjectListing.m
Sorry, we could not display the entire diff because too many files (750) changed.
View
87 README.html
@@ -2,89 +2,18 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-<title>AWS SDK for iOS (Beta) Readme</title>
+<title>AWS SDK for iOS Readme</title>
<link rel="stylesheet" type="text/css" href="http://developer.amazonwebservices.com/connect/css/aws-dev-content.css">
</head>
<body>
-<h1>AWS SDK for iOS (Beta) Readme</h1>
-<p>The AWS SDK for iOS provides a library, code samples, and documentation for developers to build connected mobile applications using AWS. This guide walks through the steps for setting up the SDK and running one of the samples. </p>
-<h2>About the SDK</h2>
-<p>The AWS SDK for iOS includes: </p>
-<ul>
- <li><strong>AWS iOS Library</strong>—Build mobile applications for the iOS on top of APIs that take the complexity out of coding directly against a web service interface. The library provides APIs that hide much of the lower-level plumbing, including authentication, request retries, and error handling.</li>
- <li><strong>Code Samples</strong>—Practical examples for how to use the library to build applications.</li>
- <li><strong>Documentation</strong>—Reference documentation demonstrating how to use the SDK.</li>
-</ul>
-<h2>Get Set Up</h2>
-<p>To get set up, you must sign up for Amazon Web Services, get your AWS credentials, and set up your environment.</p>
-<h3>Sign Up for AWS Products</h3>
-<p>Before you can begin, you must sign up for each AWS product you want to use. The sample we'll cover in this guide uses both Amazon S3 and Amazon SimpleDB, so you'll need to sign up for both products.</p>
-<strong>To sign up for a product</strong>
-<ol start="1" type="1">
- <li>Go to the home page for the product, for example <a href="http://aws.amazon.com/s3/">aws.amazon.com/s3/</a>. <br />
- <br />
- <strong>Tip:</strong> Go to <a href="http://aws.amazon.com/products">aws.amazon.com/products</a> for a list of links to all our products.<br />
- <br />
- </li>
- <li>Click the sign-up button on the top right corner of the page. </li>
- <li>Follow the on-screen instructions. If you don't already have an AWS account, you are prompted to create one as part of the sign-up process.</li>
-</ol>
-<p>AWS sends you a confirmation email after the sign-up process is complete. You can view your current account activity or manage your account at any time, by going to <a href="http://aws.amazon.com">aws.amazon.com</a> and clicking the <strong>Account</strong> tab.</p>
-<h3>Get Your Credentials</h3>
-<p>In order to use the AWS SDK for iOS, you need your AWS Access Key ID and Secret Access Key.</p>
-<strong>To get your AWS Access Key ID and Secret Access Key </strong>
-<ol start="1" type="1">
- <li>Go to <a href="http://aws.amazon.com/">http://aws.amazon.com/</a>.</li>
- <li>Click <strong>Account</strong> and then click <strong>Security Credentials</strong>.<br />
- The Security Credentials page displays (you might be prompted to log in).</li>
- <li>Scroll down to Access Credentials and make sure the <strong>Access Keys</strong> tab is selected.<br />
- The AWS Access Key ID appears in the Access Key column.</li>
- <li>To view the Secret Access Key, click <strong>Show</strong>.</li>
-</ol>
-<blockquote>
- <p><strong>Important!</strong> Your Secret Access Key is a secret, which only you and AWS should know. It is important to keep it confidential to protect your account. Store it securely in a safe place. Never include it in your requests to AWS, and never email it to anyone. Do not share it outside your organization, even if an inquiry appears to come from AWS or Amazon.com. No one who legitimately represents Amazon will ever ask you for your Secret Access Key.</p>
-</blockquote>
-<h3>Get the iOS SDK</h3>
-<p>Downlod the SDK from <a href="http://aws.amazon.com/sdkforios">http://aws.amazon.com/sdkforios</a>.</p>
-<p>Minimum requirements for using the AWS SDK for iOS are:</p>
-<ul>
- <li> Requires Xcode v3.2.3 or higher. </li>
- <li>Requires iOS v4.1 or higher. </li>
-</ul>
-<h3>Package Contents</h3>
-<p>After unzipping the AWS SDK for iOS package, you'll find the following contents:</p>
-<ul>
- <li> <strong>Documentation:</strong> Contains the DocSet for the AWS iOS SDK framework. </li>
- <li> <strong>AWSiOSSDK.framework:</strong> A framework to include in an iOS application to access AWS APIs. </li>
- <li> <strong>samples:</strong> Contains code built using the AWSiOSSDK.framework to create a simple browser for Amazon S3, SimpleDB, SQS and SNS. </li>
- <li> <strong>src:</strong> Contains the original implementation and header files for the SDK, including third-party code. </li>
-</ul>
-<h2>Run the Sample</h2>
-<p>The <code>/samples</code> directory in the SDK contains a browser application that demonstrates how to make requests to AWS using the SDK.</p>
-<h3>To run the browser sample</h3>
-<ol>
- <li>Open the <code>AWSiOSSDK/samples/awsBrowser/AWSiosDEMO.xcodeproj</code> project file in Xcode. </li>
- <li>Configure the sample with your AWS security credentials:
- <ol>
- <li>Open the <code>Constants.h</code> file. </li>
- <li>Modify the <code>ACCESS_KEY</code> and <code>SECRET_KEY</code> definitions with your AWS Credentials. </li>
- </ol>
- </li>
- <li>Run the project by selecting <strong>Build and Run</strong> from the <strong>Build</strong> menu.</li>
-</ol>
-<h2>Where Do I Go from Here?</h2>
-<p>For more information about the AWS SDK for iOS, including a complete list of supported AWS products, go to <a href="http://aws.amazon.com/sdkforios">aws.amazon.com/sdkforios</a>.</p>
-<h3>View the Reference Documentation Online</h3>
-<p>The SDK reference documentation includes the ability to browse and search across all code included with the SDK. It provides thorough documentation, usage examples, and even the ability to browse method source. You can find it at<a href="http://docs.amazonwebservices.com/AWSiOSSDK/latest/"> http://docs.amazonwebservices.com/AWSSDKforiOS/latest</a>.</p>
-<h3>Install the Reference Documentation in XCode</h3>
-<p>The AWS SDK for iOS includes DocSet documentation, which can be used to view the documentation from within Xcode. To install the DocSet:</p>
-<ol>
- <li>Create a directory called <code>/Users/$USER/Library/Developer/Shared/Documentaion/DocSets</code>.</li>
- <li>Copy <code>Documentation/com.amazon.aws.ios.docset</code> from the SDK into the directory you created above. </li>
- <li>Restart Xcode. </li>
-</ol>
-<h3>Learn More about iOS Development</h3>
+<h1>AWS SDK for iOS Readme</h1>
+<p>The <a href="http://aws.amazon.com/sdkforios">AWS SDK for iOS</a> provides a library, code samples, and documentation for developers to build connected mobile applications using AWS.</p>
+<p>For more information about using the SDK, please reference the online documentation here: <a href="http://aws.amazon.com/documentation/sdkforios">aws.amazon.com/documentation/sdkforios</a>
+<br/>
+<br/>
+<br/>
+<h3>To learn more about iOS Development</h3>
<p>For more information on iOS development, see the Apple Developer Connection web site at: <a href="http://developer.apple.com/devcenter/ios/index.action" title="http://developer.apple.com/devcenter/ios/index.action" rel="nofollow">http://developer.apple.com/devcenter/ios/index.action</a>.</p>
</body>
</html>
View
524 samples/AWSiOSDemo/AWSiOSDemo.xcodeproj/project.pbxproj
@@ -0,0 +1,524 @@
+// !$*UTF8*$!
+{
+ archiveVersion = 1;
+ classes = {
+ };
+ objectVersion = 46;
+ objects = {
+
+/* Begin PBXBuildFile section */
+ D054DC7113E874820005B88E /* AmazonClientManager.m in Sources */ = {isa = PBXBuildFile; fileRef = D054DC3113E874820005B88E /* AmazonClientManager.m */; };
+ D054DC7413E874820005B88E /* Constants.m in Sources */ = {isa = PBXBuildFile; fileRef = D054DC3713E874820005B88E /* Constants.m */; };
+ D054DC7513E874820005B88E /* AddBucketViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = D054DC3A13E874820005B88E /* AddBucketViewController.m */; };
+ D054DC7613E874820005B88E /* AddBucketViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = D054DC3B13E874820005B88E /* AddBucketViewController.xib */; };
+ D054DC7713E874820005B88E /* AddObjectViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = D054DC3D13E874820005B88E /* AddObjectViewController.m */; };
+ D054DC7813E874820005B88E /* AddObjectViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = D054DC3E13E874820005B88E /* AddObjectViewController.xib */; };
+ D054DC7913E874820005B88E /* BucketList.m in Sources */ = {isa = PBXBuildFile; fileRef = D054DC4013E874820005B88E /* BucketList.m */; };
+ D054DC7A13E874820005B88E /* BucketList.xib in Resources */ = {isa = PBXBuildFile; fileRef = D054DC4113E874820005B88E /* BucketList.xib */; };
+ D054DC7B13E874820005B88E /* ObjectListing.m in Sources */ = {isa = PBXBuildFile; fileRef = D054DC4313E874820005B88E /* ObjectListing.m */; };
+ D054DC7C13E874820005B88E /* ObjectListing.xib in Resources */ = {isa = PBXBuildFile; fileRef = D054DC4413E874820005B88E /* ObjectListing.xib */; };
+ D054DC7D13E874820005B88E /* ObjectViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = D054DC4613E874820005B88E /* ObjectViewController.m */; };
+ D054DC7E13E874820005B88E /* ObjectViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = D054DC4713E874820005B88E /* ObjectViewController.xib */; };
+ D054DC7F13E874820005B88E /* S3AsyncViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = D054DC4913E874820005B88E /* S3AsyncViewController.m */; };
+ D054DC8013E874820005B88E /* S3AsyncViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = D054DC4A13E874820005B88E /* S3AsyncViewController.xib */; };
+ D054DC8113E874820005B88E /* S3RequestDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = D054DC4C13E874820005B88E /* S3RequestDelegate.m */; };
+ D054DC8213E874820005B88E /* DomainList.m in Sources */ = {isa = PBXBuildFile; fileRef = D054DC4F13E874820005B88E /* DomainList.m */; };
+ D054DC8313E874820005B88E /* DomainList.xib in Resources */ = {isa = PBXBuildFile; fileRef = D054DC5013E874820005B88E /* DomainList.xib */; };
+ D054DC8413E874820005B88E /* ItemListing.m in Sources */ = {isa = PBXBuildFile; fileRef = D054DC5213E874820005B88E /* ItemListing.m */; };
+ D054DC8513E874820005B88E /* ItemListing.xib in Resources */ = {isa = PBXBuildFile; fileRef = D054DC5313E874820005B88E /* ItemListing.xib */; };
+ D054DC8613E874820005B88E /* ItemViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = D054DC5513E874820005B88E /* ItemViewController.m */; };
+ D054DC8713E874820005B88E /* ItemViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = D054DC5613E874820005B88E /* ItemViewController.xib */; };
+ D054DC8813E874820005B88E /* SdbAsyncViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = D054DC5813E874820005B88E /* SdbAsyncViewController.m */; };
+ D054DC8913E874820005B88E /* SdbAsyncViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = D054DC5913E874820005B88E /* SdbAsyncViewController.xib */; };
+ D054DC8A13E874820005B88E /* SdbRequestDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = D054DC5B13E874820005B88E /* SdbRequestDelegate.m */; };
+ D054DC8B13E874820005B88E /* TopicList.m in Sources */ = {isa = PBXBuildFile; fileRef = D054DC5E13E874820005B88E /* TopicList.m */; };
+ D054DC8C13E874820005B88E /* TopicList.xib in Resources */ = {isa = PBXBuildFile; fileRef = D054DC5F13E874820005B88E /* TopicList.xib */; };
+ D054DC8D13E874820005B88E /* AddQueue.m in Sources */ = {isa = PBXBuildFile; fileRef = D054DC6213E874820005B88E /* AddQueue.m */; };
+ D054DC8E13E874820005B88E /* AddQueue.xib in Resources */ = {isa = PBXBuildFile; fileRef = D054DC6313E874820005B88E /* AddQueue.xib */; };
+ D054DC8F13E874820005B88E /* Message.m in Sources */ = {isa = PBXBuildFile; fileRef = D054DC6513E874820005B88E /* Message.m */; };
+ D054DC9013E874820005B88E /* Message.xib in Resources */ = {isa = PBXBuildFile; fileRef = D054DC6613E874820005B88E /* Message.xib */; };
+ D054DC9113E874820005B88E /* MessageList.m in Sources */ = {isa = PBXBuildFile; fileRef = D054DC6813E874820005B88E /* MessageList.m */; };
+ D054DC9213E874820005B88E /* MessageList.xib in Resources */ = {isa = PBXBuildFile; fileRef = D054DC6913E874820005B88E /* MessageList.xib */; };
+ D054DC9313E874820005B88E /* QueueList.m in Sources */ = {isa = PBXBuildFile; fileRef = D054DC6B13E874820005B88E /* QueueList.m */; };
+ D054DC9413E874820005B88E /* QueueList.xib in Resources */ = {isa = PBXBuildFile; fileRef = D054DC6C13E874820005B88E /* QueueList.xib */; };
+ D054DC9513E874820005B88E /* SendMessage.m in Sources */ = {isa = PBXBuildFile; fileRef = D054DC6E13E874820005B88E /* SendMessage.m */; };
+ D054DC9613E874820005B88E /* SendMessage.xib in Resources */ = {isa = PBXBuildFile; fileRef = D054DC6F13E874820005B88E /* SendMessage.xib */; };
+ D054DC9713E874820005B88E /* temp.txt in Resources */ = {isa = PBXBuildFile; fileRef = D054DC7013E874820005B88E /* temp.txt */; };
+ D06CCDBC13E875B500BF4E49 /* AWSiOSSDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D06CCDBB13E875B500BF4E49 /* AWSiOSSDK.framework */; };
+ D0A0E33713E873F000601B8D /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D0A0E33613E873F000601B8D /* UIKit.framework */; };
+ D0A0E33913E873F000601B8D /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D0A0E33813E873F000601B8D /* Foundation.framework */; };
+ D0A0E33B13E873F000601B8D /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D0A0E33A13E873F000601B8D /* CoreGraphics.framework */; };
+ D0A0E34113E873F000601B8D /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = D0A0E33F13E873F000601B8D /* InfoPlist.strings */; };
+ D0A0E34413E873F000601B8D /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = D0A0E34313E873F000601B8D /* main.m */; };
+ D0A0E34713E873F000601B8D /* AWSiOSDemoAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = D0A0E34613E873F000601B8D /* AWSiOSDemoAppDelegate.m */; };
+ D0A0E34A13E873F000601B8D /* MainWindow.xib in Resources */ = {isa = PBXBuildFile; fileRef = D0A0E34813E873F000601B8D /* MainWindow.xib */; };
+ D0A0E34D13E873F000601B8D /* AWSiOSDemoViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = D0A0E34C13E873F000601B8D /* AWSiOSDemoViewController.m */; };
+ D0A0E35013E873F000601B8D /* AWSiOSDemoViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = D0A0E34E13E873F000601B8D /* AWSiOSDemoViewController.xib */; };
+/* End PBXBuildFile section */
+
+/* Begin PBXFileReference section */
+ D054DC3013E874820005B88E /* AmazonClientManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AmazonClientManager.h; sourceTree = "<group>"; };
+ D054DC3113E874820005B88E /* AmazonClientManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AmazonClientManager.m; sourceTree = "<group>"; };
+ D054DC3613E874820005B88E /* Constants.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Constants.h; sourceTree = "<group>"; };
+ D054DC3713E874820005B88E /* Constants.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = Constants.m; sourceTree = "<group>"; };
+ D054DC3913E874820005B88E /* AddBucketViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AddBucketViewController.h; sourceTree = "<group>"; };
+ D054DC3A13E874820005B88E /* AddBucketViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AddBucketViewController.m; sourceTree = "<group>"; };
+ D054DC3B13E874820005B88E /* AddBucketViewController.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = AddBucketViewController.xib; sourceTree = "<group>"; };
+ D054DC3C13E874820005B88E /* AddObjectViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AddObjectViewController.h; sourceTree = "<group>"; };
+ D054DC3D13E874820005B88E /* AddObjectViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AddObjectViewController.m; sourceTree = "<group>"; };
+ D054DC3E13E874820005B88E /* AddObjectViewController.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = AddObjectViewController.xib; sourceTree = "<group>"; };
+ D054DC3F13E874820005B88E /* BucketList.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = BucketList.h; sourceTree = "<group>"; };
+ D054DC4013E874820005B88E /* BucketList.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = BucketList.m; sourceTree = "<group>"; };
+ D054DC4113E874820005B88E /* BucketList.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = BucketList.xib; sourceTree = "<group>"; };
+ D054DC4213E874820005B88E /* ObjectListing.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ObjectListing.h; sourceTree = "<group>"; };
+ D054DC4313E874820005B88E /* ObjectListing.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ObjectListing.m; sourceTree = "<group>"; };
+ D054DC4413E874820005B88E /* ObjectListing.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = ObjectListing.xib; sourceTree = "<group>"; };
+ D054DC4513E874820005B88E /* ObjectViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ObjectViewController.h; sourceTree = "<group>"; };
+ D054DC4613E874820005B88E /* ObjectViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ObjectViewController.m; sourceTree = "<group>"; };
+ D054DC4713E874820005B88E /* ObjectViewController.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = ObjectViewController.xib; sourceTree = "<group>"; };
+ D054DC4813E874820005B88E /* S3AsyncViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = S3AsyncViewController.h; sourceTree = "<group>"; };
+ D054DC4913E874820005B88E /* S3AsyncViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = S3AsyncViewController.m; sourceTree = "<group>"; };
+ D054DC4A13E874820005B88E /* S3AsyncViewController.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = S3AsyncViewController.xib; sourceTree = "<group>"; };
+ D054DC4B13E874820005B88E /* S3RequestDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = S3RequestDelegate.h; sourceTree = "<group>"; };
+ D054DC4C13E874820005B88E /* S3RequestDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = S3RequestDelegate.m; sourceTree = "<group>"; };
+ D054DC4E13E874820005B88E /* DomainList.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DomainList.h; sourceTree = "<group>"; };
+ D054DC4F13E874820005B88E /* DomainList.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DomainList.m; sourceTree = "<group>"; };
+ D054DC5013E874820005B88E /* DomainList.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = DomainList.xib; sourceTree = "<group>"; };
+ D054DC5113E874820005B88E /* ItemListing.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ItemListing.h; sourceTree = "<group>"; };
+ D054DC5213E874820005B88E /* ItemListing.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ItemListing.m; sourceTree = "<group>"; };
+ D054DC5313E874820005B88E /* ItemListing.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = ItemListing.xib; sourceTree = "<group>"; };
+ D054DC5413E874820005B88E /* ItemViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ItemViewController.h; sourceTree = "<group>"; };
+ D054DC5513E874820005B88E /* ItemViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ItemViewController.m; sourceTree = "<group>"; };
+ D054DC5613E874820005B88E /* ItemViewController.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = ItemViewController.xib; sourceTree = "<group>"; };
+ D054DC5713E874820005B88E /* SdbAsyncViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SdbAsyncViewController.h; sourceTree = "<group>"; };
+ D054DC5813E874820005B88E /* SdbAsyncViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SdbAsyncViewController.m; sourceTree = "<group>"; };
+ D054DC5913E874820005B88E /* SdbAsyncViewController.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = SdbAsyncViewController.xib; sourceTree = "<group>"; };
+ D054DC5A13E874820005B88E /* SdbRequestDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SdbRequestDelegate.h; sourceTree = "<group>"; };
+ D054DC5B13E874820005B88E /* SdbRequestDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SdbRequestDelegate.m; sourceTree = "<group>"; };
+ D054DC5D13E874820005B88E /* TopicList.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TopicList.h; sourceTree = "<group>"; };
+ D054DC5E13E874820005B88E /* TopicList.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = TopicList.m; sourceTree = "<group>"; };
+ D054DC5F13E874820005B88E /* TopicList.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = TopicList.xib; sourceTree = "<group>"; };
+ D054DC6113E874820005B88E /* AddQueue.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AddQueue.h; sourceTree = "<group>"; };
+ D054DC6213E874820005B88E /* AddQueue.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AddQueue.m; sourceTree = "<group>"; };
+ D054DC6313E874820005B88E /* AddQueue.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = AddQueue.xib; sourceTree = "<group>"; };
+ D054DC6413E874820005B88E /* Message.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Message.h; sourceTree = "<group>"; };
+ D054DC6513E874820005B88E /* Message.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = Message.m; sourceTree = "<group>"; };
+ D054DC6613E874820005B88E /* Message.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = Message.xib; sourceTree = "<group>"; };
+ D054DC6713E874820005B88E /* MessageList.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MessageList.h; sourceTree = "<group>"; };
+ D054DC6813E874820005B88E /* MessageList.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MessageList.m; sourceTree = "<group>"; };
+ D054DC6913E874820005B88E /* MessageList.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = MessageList.xib; sourceTree = "<group>"; };
+ D054DC6A13E874820005B88E /* QueueList.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = QueueList.h; sourceTree = "<group>"; };
+ D054DC6B13E874820005B88E /* QueueList.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = QueueList.m; sourceTree = "<group>"; };
+ D054DC6C13E874820005B88E /* QueueList.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = QueueList.xib; sourceTree = "<group>"; };
+ D054DC6D13E874820005B88E /* SendMessage.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SendMessage.h; sourceTree = "<group>"; };
+ D054DC6E13E874820005B88E /* SendMessage.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SendMessage.m; sourceTree = "<group>"; };
+ D054DC6F13E874820005B88E /* SendMessage.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = SendMessage.xib; sourceTree = "<group>"; };
+ D054DC7013E874820005B88E /* temp.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = temp.txt; sourceTree = "<group>"; };
+ D06CCDBB13E875B500BF4E49 /* AWSiOSSDK.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AWSiOSSDK.framework; path = ../../AWSiOSSDK.framework; sourceTree = "<group>"; };
+ D0A0E33213E873F000601B8D /* AWSiOSDemo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = AWSiOSDemo.app; sourceTree = BUILT_PRODUCTS_DIR; };
+ D0A0E33613E873F000601B8D /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };
+ D0A0E33813E873F000601B8D /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
+ D0A0E33A13E873F000601B8D /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; };
+ D0A0E33E13E873F000601B8D /* AWSiOSDemo-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "AWSiOSDemo-Info.plist"; sourceTree = "<group>"; };
+ D0A0E34013E873F000601B8D /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
+ D0A0E34213E873F000601B8D /* AWSiOSDemo-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "AWSiOSDemo-Prefix.pch"; sourceTree = "<group>"; };
+ D0A0E34313E873F000601B8D /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
+ D0A0E34513E873F000601B8D /* AWSiOSDemoAppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AWSiOSDemoAppDelegate.h; sourceTree = "<group>"; };
+ D0A0E34613E873F000601B8D /* AWSiOSDemoAppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AWSiOSDemoAppDelegate.m; sourceTree = "<group>"; };
+ D0A0E34913E873F000601B8D /* en */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = en; path = en.lproj/MainWindow.xib; sourceTree = "<group>"; };
+ D0A0E34B13E873F000601B8D /* AWSiOSDemoViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AWSiOSDemoViewController.h; sourceTree = "<group>"; };
+ D0A0E34C13E873F000601B8D /* AWSiOSDemoViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AWSiOSDemoViewController.m; sourceTree = "<group>"; };
+ D0A0E34F13E873F000601B8D /* en */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = en; path = en.lproj/AWSiOSDemoViewController.xib; sourceTree = "<group>"; };
+/* End PBXFileReference section */
+
+/* Begin PBXFrameworksBuildPhase section */
+ D0A0E32F13E873F000601B8D /* Frameworks */ = {
+ isa = PBXFrameworksBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ D0A0E33713E873F000601B8D /* UIKit.framework in Frameworks */,
+ D0A0E33913E873F000601B8D /* Foundation.framework in Frameworks */,
+ D0A0E33B13E873F000601B8D /* CoreGraphics.framework in Frameworks */,
+ D06CCDBC13E875B500BF4E49 /* AWSiOSSDK.framework in Frameworks */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXFrameworksBuildPhase section */
+
+/* Begin PBXGroup section */
+ D054DC2F13E874820005B88E /* Classes */ = {
+ isa = PBXGroup;
+ children = (
+ D054DC3013E874820005B88E /* AmazonClientManager.h */,
+ D054DC3113E874820005B88E /* AmazonClientManager.m */,
+ D054DC3613E874820005B88E /* Constants.h */,
+ D054DC3713E874820005B88E /* Constants.m */,
+ D054DC3813E874820005B88E /* S3 */,
+ D054DC4D13E874820005B88E /* SDB */,
+ D054DC5C13E874820005B88E /* SNS */,
+ D054DC6013E874820005B88E /* SQS */,
+ D054DC7013E874820005B88E /* temp.txt */,
+ );
+ path = Classes;
+ sourceTree = "<group>";
+ };
+ D054DC3813E874820005B88E /* S3 */ = {
+ isa = PBXGroup;
+ children = (
+ D054DC3913E874820005B88E /* AddBucketViewController.h */,
+ D054DC3A13E874820005B88E /* AddBucketViewController.m */,
+ D054DC3B13E874820005B88E /* AddBucketViewController.xib */,
+ D054DC3C13E874820005B88E /* AddObjectViewController.h */,
+ D054DC3D13E874820005B88E /* AddObjectViewController.m */,
+ D054DC3E13E874820005B88E /* AddObjectViewController.xib */,
+ D054DC3F13E874820005B88E /* BucketList.h */,
+ D054DC4013E874820005B88E /* BucketList.m */,
+ D054DC4113E874820005B88E /* BucketList.xib */,
+ D054DC4213E874820005B88E /* ObjectListing.h */,
+ D054DC4313E874820005B88E /* ObjectListing.m */,
+ D054DC4413E874820005B88E /* ObjectListing.xib */,
+ D054DC4513E874820005B88E /* ObjectViewController.h */,
+ D054DC4613E874820005B88E /* ObjectViewController.m */,
+ D054DC4713E874820005B88E /* ObjectViewController.xib */,
+ D054DC4813E874820005B88E /* S3AsyncViewController.h */,
+ D054DC4913E874820005B88E /* S3AsyncViewController.m */,
+ D054DC4A13E874820005B88E /* S3AsyncViewController.xib */,
+ D054DC4B13E874820005B88E /* S3RequestDelegate.h */,
+ D054DC4C13E874820005B88E /* S3RequestDelegate.m */,
+ );
+ path = S3;
+ sourceTree = "<group>";
+ };
+ D054DC4D13E874820005B88E /* SDB */ = {
+ isa = PBXGroup;
+ children = (
+ D054DC4E13E874820005B88E /* DomainList.h */,
+ D054DC4F13E874820005B88E /* DomainList.m */,
+ D054DC5013E874820005B88E /* DomainList.xib */,
+ D054DC5113E874820005B88E /* ItemListing.h */,
+ D054DC5213E874820005B88E /* ItemListing.m */,
+ D054DC5313E874820005B88E /* ItemListing.xib */,
+ D054DC5413E874820005B88E /* ItemViewController.h */,
+ D054DC5513E874820005B88E /* ItemViewController.m */,
+ D054DC5613E874820005B88E /* ItemViewController.xib */,
+ D054DC5713E874820005B88E /* SdbAsyncViewController.h */,
+ D054DC5813E874820005B88E /* SdbAsyncViewController.m */,
+ D054DC5913E874820005B88E /* SdbAsyncViewController.xib */,
+ D054DC5A13E874820005B88E /* SdbRequestDelegate.h */,
+ D054DC5B13E874820005B88E /* SdbRequestDelegate.m */,
+ );
+ path = SDB;
+ sourceTree = "<group>";
+ };
+ D054DC5C13E874820005B88E /* SNS */ = {
+ isa = PBXGroup;
+ children = (
+ D054DC5D13E874820005B88E /* TopicList.h */,
+ D054DC5E13E874820005B88E /* TopicList.m */,
+ D054DC5F13E874820005B88E /* TopicList.xib */,
+ );
+ path = SNS;
+ sourceTree = "<group>";
+ };
+ D054DC6013E874820005B88E /* SQS */ = {
+ isa = PBXGroup;
+ children = (
+ D054DC6113E874820005B88E /* AddQueue.h */,
+ D054DC6213E874820005B88E /* AddQueue.m */,
+ D054DC6313E874820005B88E /* AddQueue.xib */,
+ D054DC6413E874820005B88E /* Message.h */,
+ D054DC6513E874820005B88E /* Message.m */,
+ D054DC6613E874820005B88E /* Message.xib */,
+ D054DC6713E874820005B88E /* MessageList.h */,
+ D054DC6813E874820005B88E /* MessageList.m */,
+ D054DC6913E874820005B88E /* MessageList.xib */,
+ D054DC6A13E874820005B88E /* QueueList.h */,
+ D054DC6B13E874820005B88E /* QueueList.m */,
+ D054DC6C13E874820005B88E /* QueueList.xib */,
+ D054DC6D13E874820005B88E /* SendMessage.h */,
+ D054DC6E13E874820005B88E /* SendMessage.m */,
+ D054DC6F13E874820005B88E /* SendMessage.xib */,
+ );
+ path = SQS;
+ sourceTree = "<group>";
+ };
+ D0A0E32713E873F000601B8D = {
+ isa = PBXGroup;
+ children = (
+ D0A0E33C13E873F000601B8D /* AWSiOSDemo */,
+ D0A0E33513E873F000601B8D /* Frameworks */,
+ D0A0E33313E873F000601B8D /* Products */,
+ );
+ sourceTree = "<group>";
+ };
+ D0A0E33313E873F000601B8D /* Products */ = {
+ isa = PBXGroup;
+ children = (
+ D0A0E33213E873F000601B8D /* AWSiOSDemo.app */,
+ );
+ name = Products;
+ sourceTree = "<group>";
+ };
+ D0A0E33513E873F000601B8D /* Frameworks */ = {
+ isa = PBXGroup;
+ children = (
+ D06CCDBB13E875B500BF4E49 /* AWSiOSSDK.framework */,
+ D0A0E33613E873F000601B8D /* UIKit.framework */,
+ D0A0E33813E873F000601B8D /* Foundation.framework */,
+ D0A0E33A13E873F000601B8D /* CoreGraphics.framework */,
+ );
+ name = Frameworks;
+ sourceTree = "<group>";
+ };
+ D0A0E33C13E873F000601B8D /* AWSiOSDemo */ = {
+ isa = PBXGroup;
+ children = (
+ D054DC2F13E874820005B88E /* Classes */,
+ D0A0E34513E873F000601B8D /* AWSiOSDemoAppDelegate.h */,
+ D0A0E34613E873F000601B8D /* AWSiOSDemoAppDelegate.m */,
+ D0A0E34813E873F000601B8D /* MainWindow.xib */,
+ D0A0E34B13E873F000601B8D /* AWSiOSDemoViewController.h */,
+ D0A0E34C13E873F000601B8D /* AWSiOSDemoViewController.m */,
+ D0A0E34E13E873F000601B8D /* AWSiOSDemoViewController.xib */,
+ D0A0E33D13E873F000601B8D /* Supporting Files */,
+ );
+ path = AWSiOSDemo;
+ sourceTree = "<group>";
+ };
+ D0A0E33D13E873F000601B8D /* Supporting Files */ = {
+ isa = PBXGroup;
+ children = (
+ D0A0E33E13E873F000601B8D /* AWSiOSDemo-Info.plist */,
+ D0A0E33F13E873F000601B8D /* InfoPlist.strings */,
+ D0A0E34213E873F000601B8D /* AWSiOSDemo-Prefix.pch */,
+ D0A0E34313E873F000601B8D /* main.m */,
+ );
+ name = "Supporting Files";
+ sourceTree = "<group>";
+ };
+/* End PBXGroup section */
+
+/* Begin PBXNativeTarget section */
+ D0A0E33113E873F000601B8D /* AWSiOSDemo */ = {
+ isa = PBXNativeTarget;
+ buildConfigurationList = D0A0E35313E873F000601B8D /* Build configuration list for PBXNativeTarget "AWSiOSDemo" */;
+ buildPhases = (
+ D0A0E32E13E873F000601B8D /* Sources */,
+ D0A0E32F13E873F000601B8D /* Frameworks */,
+ D0A0E33013E873F000601B8D /* Resources */,
+ );
+ buildRules = (
+ );
+ dependencies = (
+ );
+ name = AWSiOSDemo;
+ productName = AWSiOSDemo;
+ productReference = D0A0E33213E873F000601B8D /* AWSiOSDemo.app */;
+ productType = "com.apple.product-type.application";
+ };
+/* End PBXNativeTarget section */
+
+/* Begin PBXProject section */
+ D0A0E32913E873F000601B8D /* Project object */ = {
+ isa = PBXProject;
+ buildConfigurationList = D0A0E32C13E873F000601B8D /* Build configuration list for PBXProject "AWSiOSDemo" */;
+ compatibilityVersion = "Xcode 3.2";
+ developmentRegion = English;
+ hasScannedForEncodings = 0;
+ knownRegions = (
+ en,
+ );
+ mainGroup = D0A0E32713E873F000601B8D;
+ productRefGroup = D0A0E33313E873F000601B8D /* Products */;
+ projectDirPath = "";
+ projectRoot = "";
+ targets = (
+ D0A0E33113E873F000601B8D /* AWSiOSDemo */,
+ );
+ };
+/* End PBXProject section */
+
+/* Begin PBXResourcesBuildPhase section */
+ D0A0E33013E873F000601B8D /* Resources */ = {
+ isa = PBXResourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ D0A0E34113E873F000601B8D /* InfoPlist.strings in Resources */,
+ D0A0E34A13E873F000601B8D /* MainWindow.xib in Resources */,
+ D0A0E35013E873F000601B8D /* AWSiOSDemoViewController.xib in Resources */,
+ D054DC7613E874820005B88E /* AddBucketViewController.xib in Resources */,
+ D054DC7813E874820005B88E /* AddObjectViewController.xib in Resources */,
+ D054DC7A13E874820005B88E /* BucketList.xib in Resources */,
+ D054DC7C13E874820005B88E /* ObjectListing.xib in Resources */,
+ D054DC7E13E874820005B88E /* ObjectViewController.xib in Resources */,
+ D054DC8013E874820005B88E /* S3AsyncViewController.xib in Resources */,
+ D054DC8313E874820005B88E /* DomainList.xib in Resources */,
+ D054DC8513E874820005B88E /* ItemListing.xib in Resources */,
+ D054DC8713E874820005B88E /* ItemViewController.xib in Resources */,
+ D054DC8913E874820005B88E /* SdbAsyncViewController.xib in Resources */,
+ D054DC8C13E874820005B88E /* TopicList.xib in Resources */,
+ D054DC8E13E874820005B88E /* AddQueue.xib in Resources */,
+ D054DC9013E874820005B88E /* Message.xib in Resources */,
+ D054DC9213E874820005B88E /* MessageList.xib in Resources */,
+ D054DC9413E874820005B88E /* QueueList.xib in Resources */,
+ D054DC9613E874820005B88E /* SendMessage.xib in Resources */,
+ D054DC9713E874820005B88E /* temp.txt in Resources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXResourcesBuildPhase section */
+
+/* Begin PBXSourcesBuildPhase section */
+ D0A0E32E13E873F000601B8D /* Sources */ = {
+ isa = PBXSourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ D0A0E34413E873F000601B8D /* main.m in Sources */,
+ D0A0E34713E873F000601B8D /* AWSiOSDemoAppDelegate.m in Sources */,
+ D0A0E34D13E873F000601B8D /* AWSiOSDemoViewController.m in Sources */,
+ D054DC7113E874820005B88E /* AmazonClientManager.m in Sources */,
+ D054DC7413E874820005B88E /* Constants.m in Sources */,
+ D054DC7513E874820005B88E /* AddBucketViewController.m in Sources */,
+ D054DC7713E874820005B88E /* AddObjectViewController.m in Sources */,
+ D054DC7913E874820005B88E /* BucketList.m in Sources */,
+ D054DC7B13E874820005B88E /* ObjectListing.m in Sources */,
+ D054DC7D13E874820005B88E /* ObjectViewController.m in Sources */,
+ D054DC7F13E874820005B88E /* S3AsyncViewController.m in Sources */,
+ D054DC8113E874820005B88E /* S3RequestDelegate.m in Sources */,
+ D054DC8213E874820005B88E /* DomainList.m in Sources */,
+ D054DC8413E874820005B88E /* ItemListing.m in Sources */,
+ D054DC8613E874820005B88E /* ItemViewController.m in Sources */,
+ D054DC8813E874820005B88E /* SdbAsyncViewController.m in Sources */,
+ D054DC8A13E874820005B88E /* SdbRequestDelegate.m in Sources */,
+ D054DC8B13E874820005B88E /* TopicList.m in Sources */,
+ D054DC8D13E874820005B88E /* AddQueue.m in Sources */,
+ D054DC8F13E874820005B88E /* Message.m in Sources */,
+ D054DC9113E874820005B88E /* MessageList.m in Sources */,
+ D054DC9313E874820005B88E /* QueueList.m in Sources */,
+ D054DC9513E874820005B88E /* SendMessage.m in Sources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXSourcesBuildPhase section */
+
+/* Begin PBXVariantGroup section */
+ D0A0E33F13E873F000601B8D /* InfoPlist.strings */ = {
+ isa = PBXVariantGroup;
+ children = (
+ D0A0E34013E873F000601B8D /* en */,
+ );
+ name = InfoPlist.strings;
+ sourceTree = "<group>";
+ };
+ D0A0E34813E873F000601B8D /* MainWindow.xib */ = {
+ isa = PBXVariantGroup;
+ children = (
+ D0A0E34913E873F000601B8D /* en */,
+ );
+ name = MainWindow.xib;
+ sourceTree = "<group>";
+ };
+ D0A0E34E13E873F000601B8D /* AWSiOSDemoViewController.xib */ = {
+ isa = PBXVariantGroup;
+ children = (
+ D0A0E34F13E873F000601B8D /* en */,
+ );
+ name = AWSiOSDemoViewController.xib;
+ sourceTree = "<group>";
+ };
+/* End PBXVariantGroup section */
+
+/* Begin XCBuildConfiguration section */
+ D0A0E35113E873F000601B8D /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ARCHS = "$(ARCHS_STANDARD_32_BIT)";
+ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
+ GCC_C_LANGUAGE_STANDARD = gnu99;
+ GCC_OPTIMIZATION_LEVEL = 0;
+ GCC_PREPROCESSOR_DEFINITIONS = DEBUG;
+ GCC_SYMBOLS_PRIVATE_EXTERN = NO;
+ GCC_VERSION = com.apple.compilers.llvmgcc42;
+ GCC_WARN_ABOUT_RETURN_TYPE = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ IPHONEOS_DEPLOYMENT_TARGET = 4.3;
+ SDKROOT = iphoneos;
+ };
+ name = Debug;
+ };
+ D0A0E35213E873F000601B8D /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ARCHS = "$(ARCHS_STANDARD_32_BIT)";
+ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
+ GCC_C_LANGUAGE_STANDARD = gnu99;
+ GCC_VERSION = com.apple.compilers.llvmgcc42;
+ GCC_WARN_ABOUT_RETURN_TYPE = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ IPHONEOS_DEPLOYMENT_TARGET = 4.3;
+ OTHER_CFLAGS = "-DNS_BLOCK_ASSERTIONS=1";
+ SDKROOT = iphoneos;
+ };
+ name = Release;
+ };
+ D0A0E35413E873F000601B8D /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ COPY_PHASE_STRIP = NO;
+ FRAMEWORK_SEARCH_PATHS = (
+ "$(inherited)",
+ "\"$(SRCROOT)/../..\"",
+ );
+ GCC_DYNAMIC_NO_PIC = NO;
+ GCC_PRECOMPILE_PREFIX_HEADER = YES;
+ GCC_PREFIX_HEADER = "AWSiOSDemo/AWSiOSDemo-Prefix.pch";
+ INFOPLIST_FILE = "AWSiOSDemo/AWSiOSDemo-Info.plist";
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ WRAPPER_EXTENSION = app;
+ };
+ name = Debug;
+ };
+ D0A0E35513E873F000601B8D /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ COPY_PHASE_STRIP = YES;
+ FRAMEWORK_SEARCH_PATHS = (
+ "$(inherited)",
+ "\"$(SRCROOT)/../..\"",
+ );
+ GCC_PRECOMPILE_PREFIX_HEADER = YES;
+ GCC_PREFIX_HEADER = "AWSiOSDemo/AWSiOSDemo-Prefix.pch";
+ INFOPLIST_FILE = "AWSiOSDemo/AWSiOSDemo-Info.plist";
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ VALIDATE_PRODUCT = YES;
+ WRAPPER_EXTENSION = app;
+ };
+ name = Release;
+ };
+/* End XCBuildConfiguration section */
+
+/* Begin XCConfigurationList section */
+ D0A0E32C13E873F000601B8D /* Build configuration list for PBXProject "AWSiOSDemo" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ D0A0E35113E873F000601B8D /* Debug */,
+ D0A0E35213E873F000601B8D /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+ D0A0E35313E873F000601B8D /* Build configuration list for PBXNativeTarget "AWSiOSDemo" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ D0A0E35413E873F000601B8D /* Debug */,
+ D0A0E35513E873F000601B8D /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+/* End XCConfigurationList section */
+ };
+ rootObject = D0A0E32913E873F000601B8D /* Project object */;
+}
View
2 ...ject.xcworkspace/contents.xcworkspacedata → ...ject.xcworkspace/contents.xcworkspacedata
@@ -2,6 +2,6 @@
<Workspace
version = "1.0">
<FileRef
- location = "self:AWSiosDEMO.xcodeproj">
+ location = "self:AWSiOSDemo.xcodeproj">
</FileRef>
</Workspace>
View
12 samples/awsBrowser/AWSiosDEMO-Info.plist → ...SiOSDemo/AWSiOSDemo/AWSiOSDemo-Info.plist
@@ -3,21 +3,23 @@
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
- <string>English</string>
+ <string>en</string>
<key>CFBundleDisplayName</key>
<string>${PRODUCT_NAME}</string>
<key>CFBundleExecutable</key>
<string>${EXECUTABLE_NAME}</string>
<key>CFBundleIconFile</key>
<string></string>
<key>CFBundleIdentifier</key>
- <string>com.yourcompany.${PRODUCT_NAME:rfc1034identifier}</string>
+ <string>com.amazon.aws.demo.${PRODUCT_NAME:rfc1034identifier}</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>${PRODUCT_NAME}</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
+ <key>CFBundleShortVersionString</key>
+ <string>1.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
@@ -26,5 +28,11 @@
<true/>
<key>NSMainNibFile</key>
<string>MainWindow</string>
+ <key>UISupportedInterfaceOrientations</key>
+ <array>
+ <string>UIInterfaceOrientationPortrait</string>
+ <string>UIInterfaceOrientationLandscapeLeft</string>
+ <string>UIInterfaceOrientationLandscapeRight</string>
+ </array>
</dict>
</plist>
View
14 samples/AWSiOSDemo/AWSiOSDemo/AWSiOSDemo-Prefix.pch
@@ -0,0 +1,14 @@
+//
+// Prefix header for all source files of the 'AWSiOSDemo' target in the 'AWSiOSDemo' project
+//
+
+#import <Availability.h>
+
+#ifndef __IPHONE_3_0
+#warning "This project uses features only available in iPhone SDK 3.0 and later."
+#endif
+
+#ifdef __OBJC__
+ #import <UIKit/UIKit.h>
+ #import <Foundation/Foundation.h>
+#endif
View
8 ...wsBrowser/Classes/AWSiosDEMOAppDelegate.h → ...OSDemo/AWSiOSDemo/AWSiOSDemoAppDelegate.h
@@ -15,15 +15,15 @@
#import <UIKit/UIKit.h>
-@class AWSiosDEMOViewController;
+@class AWSiOSDemoViewController;
-@interface AWSiosDEMOAppDelegate:NSObject<UIApplicationDelegate> {
+@interface AWSiOSDemoAppDelegate:NSObject<UIApplicationDelegate> {
UIWindow *window;
- AWSiosDEMOViewController *viewController;
+ AWSiOSDemoViewController *viewController;
}
@property (nonatomic, retain) IBOutlet UIWindow *window;
-@property (nonatomic, retain) IBOutlet AWSiosDEMOViewController *viewController;
+@property (nonatomic, retain) IBOutlet AWSiOSDemoViewController *viewController;
@end
View
15 ...wsBrowser/Classes/AWSiosDEMOAppDelegate.m → ...OSDemo/AWSiOSDemo/AWSiOSDemoAppDelegate.m
@@ -13,11 +13,12 @@
* permissions and limitations under the License.
*/
-#import "AWSiosDEMOAppDelegate.h"
-#import "AWSiosDEMOViewController.h"
+#import "AWSiOSDemoAppDelegate.h"
+#import "AWSiOSDemoViewController.h"
#import <AWSiOSSDK/AmazonLogger.h>
-@implementation AWSiosDEMOAppDelegate
+
+@implementation AWSiOSDemoAppDelegate
@synthesize window;
@synthesize viewController;
@@ -26,10 +27,10 @@ -(BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(N
{
[window addSubview:viewController.view];
[window makeKeyAndVisible];
-
-// Uncomment the line below to see more logging.
-// [AmazonLogger verboseLogging];
-
+
+ // Uncomment the line below to see more logging.
+ [AmazonLogger verboseLogging];
+
return YES;
}
View
2 ...rowser/Classes/AWSiosDEMOViewController.h → ...emo/AWSiOSDemo/AWSiOSDemoViewController.h
@@ -15,7 +15,7 @@
#import <UIKit/UIKit.h>
-@interface AWSiosDEMOViewController:UIViewController {
+@interface AWSiOSDemoViewController:UIViewController {
}
-(IBAction)listBuckets:(id)sender;
View
29 ...rowser/Classes/AWSiosDEMOViewController.m → ...emo/AWSiOSDemo/AWSiOSDemoViewController.m
@@ -13,7 +13,7 @@
* permissions and limitations under the License.
*/
-#import "AWSiosDEMOViewController.h"
+#import "AWSiOSDemoViewController.h"
#import "Constants.h"
#import "BucketList.h"
#import "DomainList.h"
@@ -22,88 +22,87 @@
#import "S3AsyncViewController.h"
#import "SdbAsyncViewController.h"
-@implementation AWSiosDEMOViewController
-
+@implementation AWSiOSDemoViewController
-(IBAction)listBuckets:(id)sender
{
- if ( [ACCESS_KEY isEqualToString:@"CHANGE ME"] || [SECRET_KEY isEqualToString:@"CHANGE ME"]) {
+ if ( ![AmazonClientManager hasCredentials] ) {
[[Constants credentialsAlert] show];
}
else {
BucketList *bucketList = [[BucketList alloc] init];
bucketList.modalTransitionStyle = UIModalTransitionStyleCrossDissolve;
-
+
[self presentModalViewController:bucketList animated:YES];
[bucketList release];
}
}
-(IBAction)listDomains:(id)sender
{
- if ( [ACCESS_KEY isEqualToString:@"CHANGE ME"] || [SECRET_KEY isEqualToString:@"CHANGE ME"]) {
+ if ( ![AmazonClientManager hasCredentials] ) {
[[Constants credentialsAlert] show];
}
else {
DomainList *domainList = [[DomainList alloc] init];
domainList.modalTransitionStyle = UIModalTransitionStyleCrossDissolve;
-
+
[self presentModalViewController:domainList animated:YES];
[domainList release];
}
}
-(IBAction)listQueues:(id)sender
{
- if ( [ACCESS_KEY isEqualToString:@"CHANGE ME"] || [SECRET_KEY isEqualToString:@"CHANGE ME"]) {
+ if ( ![AmazonClientManager hasCredentials] ) {
[[Constants credentialsAlert] show];
}
else {
QueueList *queueList = [[QueueList alloc] init];
queueList.modalTransitionStyle = UIModalTransitionStyleCrossDissolve;
-
+
[self presentModalViewController:queueList animated:YES];
[queueList release];
}
}
-(IBAction)listTopics:(id)sender
{
- if ( [ACCESS_KEY isEqualToString:@"CHANGE ME"] || [SECRET_KEY isEqualToString:@"CHANGE ME"]) {
+ if ( ![AmazonClientManager hasCredentials] ) {
[[Constants credentialsAlert] show];
}
else {
TopicList *topicList = [[TopicList alloc] init];
topicList.modalTransitionStyle = UIModalTransitionStyleCrossDissolve;
-
+
[self presentModalViewController:topicList animated:YES];
[topicList release];
}
}
-(IBAction)s3AsyncDemo:(id)sender
{
- if ( [ACCESS_KEY isEqualToString:@"CHANGE ME"] || [SECRET_KEY isEqualToString:@"CHANGE ME"]) {
+ if ( ![AmazonClientManager hasCredentials] ) {
[[Constants credentialsAlert] show];
}
else {
S3AsyncViewController *s3Async = [[S3AsyncViewController alloc] init];
s3Async.modalTransitionStyle = UIModalTransitionStyleCrossDissolve;
-
+
[self presentModalViewController:s3Async animated:YES];
[s3Async release];
}
}
-(IBAction)sdbAsyncDemo:(id)sender
{
- if ( [ACCESS_KEY isEqualToString:@"CHANGE ME"] || [SECRET_KEY isEqualToString:@"CHANGE ME"]) {
+ if ( ![AmazonClientManager hasCredentials] ) {
[[Constants credentialsAlert] show];
}
else {
SdbAsyncViewController *sdbAsync = [[SdbAsyncViewController alloc] init];
sdbAsync.modalTransitionStyle = UIModalTransitionStyleCrossDissolve;
-
+
[self presentModalViewController:sdbAsync animated:YES];
[sdbAsync release];
}
View
37 samples/AWSiOSDemo/AWSiOSDemo/Classes/AmazonClientManager.h
@@ -0,0 +1,37 @@
+/*
+ * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License").
+ * You may not use this file except in compliance with the License.
+ * A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed
+ * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing
+ * permissions and limitations under the License.
+ */
+
+#import <Foundation/Foundation.h>
+
+#import <AWSiOSSDK/S3/AmazonS3Client.h>
+#import <AWSiOSSDK/SimpleDB/AmazonSimpleDBClient.h>
+#import <AWSiOSSDK/SQS/AmazonSQSClient.h>
+#import <AWSiOSSDK/SNS/AmazonSNSClient.h>
+#import "Constants.h"
+
+@interface AmazonClientManager : NSObject {
+
+}
+
++(AmazonS3Client *)s3;
++(AmazonSimpleDBClient *)sdb;
++(AmazonSQSClient *)sqs;
++(AmazonSNSClient *)sns;
+
++(bool)hasCredentials;
++(void)validateCredentials;
++(void)clearCredentials;
+
+@end
View
54 samples/awsBrowser/Classes/S3/Constants.m → .../AWSiOSDemo/Classes/AmazonClientManager.m
@@ -13,51 +13,71 @@
* permissions and limitations under the License.
*/
+#import "AmazonClientManager.h"
+#import <AWSiOSSDK/AmazonLogger.h>
#import "Constants.h"
-
-@implementation Constants
-
static AmazonS3Client *s3 = nil;
static AmazonSimpleDBClient *sdb = nil;
static AmazonSQSClient *sqs = nil;
static AmazonSNSClient *sns = nil;
+@implementation AmazonClientManager
+
+
+(AmazonS3Client *)s3
{
- if (s3 == nil) {
- s3 = [[AmazonS3Client alloc] initWithAccessKey:ACCESS_KEY withSecretKey:SECRET_KEY];
- }
+ [AmazonClientManager validateCredentials];
return s3;
}
+(AmazonSimpleDBClient *)sdb
{
- if (sdb == nil) {
- sdb = [[AmazonSimpleDBClient alloc] initWithAccessKey:ACCESS_KEY withSecretKey:SECRET_KEY];
- }
+ [AmazonClientManager validateCredentials];
return sdb;
}
+(AmazonSQSClient *)sqs
{
- if (sqs == nil) {
- sqs = [[AmazonSQSClient alloc] initWithAccessKey:ACCESS_KEY withSecretKey:SECRET_KEY];
- }
+ [AmazonClientManager validateCredentials];
return sqs;
}
+(AmazonSNSClient *)sns
{
- if (sns == nil) {
- sns = [[AmazonSNSClient alloc] initWithAccessKey:ACCESS_KEY withSecretKey:SECRET_KEY];
- }
+ [AmazonClientManager validateCredentials];
return sns;
}
-+(UIAlertView *)credentialsAlert
++(bool)hasCredentials
{
- return [[[UIAlertView alloc] initWithTitle:@"AWS Credentials" message:CREDENTIALS_ALERT_MESSAGE delegate:nil cancelButtonTitle:@"OK" otherButtonTitles:nil] autorelease];
+ return ( ![ACCESS_KEY_ID isEqualToString:@"CHANGE ME"] && ![SECRET_KEY isEqualToString:@"CHANGE ME"]);
}
++(void)validateCredentials
+{
+ if ( ( sdb == nil ) || ( s3 == nil ) || ( sqs == nil ) || ( sns == nil ) ) {
+ [AmazonClientManager clearCredentials];
+
+ s3 = [[AmazonS3Client alloc] initWithAccessKey:ACCESS_KEY_ID withSecretKey:SECRET_KEY];
+ sdb = [[AmazonSimpleDBClient alloc] initWithAccessKey:ACCESS_KEY_ID withSecretKey:SECRET_KEY];
+ sqs = [[AmazonSQSClient alloc] initWithAccessKey:ACCESS_KEY_ID withSecretKey:SECRET_KEY];
+ sns = [[AmazonSNSClient alloc] initWithAccessKey:ACCESS_KEY_ID withSecretKey:SECRET_KEY];
+ }
+}
+
++(void)clearCredentials
+{
+ [s3 release];
+ [sdb release];
+ [sns release];
+ [sqs release];
+
+ s3 = nil;
+ sdb = nil;
+ sqs = nil;
+ sns = nil;
+}
+
+
@end
View
15 samples/awsBrowser/Classes/S3/Constants.h → ...AWSiOSDemo/AWSiOSDemo/Classes/Constants.h
@@ -15,32 +15,21 @@
#import <Foundation/Foundation.h>
-#import <AWSiOSSDK/S3/AmazonS3Client.h>
-#import <AWSiOSSDK/SimpleDB/AmazonSimpleDBClient.h>
-#import <AWSiOSSDK/SQS/AmazonSQSClient.h>
-#import <AWSiOSSDK/SNS/AmazonSNSClient.h>
-
//!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
// This sample App is for demonstration purposes only.
// It is not secure to embed your credentials into source code.
// Please read the following article for getting credentials
// to devices securely.
// http://aws.amazon.com/articles/Mobile/4611615499399490
//!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
-
-#define ACCESS_KEY @"CHANGE ME"
+#define ACCESS_KEY_ID @"CHANGE ME"
#define SECRET_KEY @"CHANGE ME"
+#define CREDENTIALS_ALERT_MESSAGE @"Please update the Constants.h file with your credentials or Token Vending Machine URL."
-#define CREDENTIALS_ALERT_MESSAGE @"Please update the Constants.h file with your credentials."
@interface Constants:NSObject {
}
-+(AmazonS3Client *)s3;
-+(AmazonSimpleDBClient *)sdb;
-+(AmazonSQSClient *)sqs;
-+(AmazonSNSClient *)sns;
-
+(UIAlertView *)credentialsAlert;
@end
View
26 samples/AWSiOSDemo/AWSiOSDemo/Classes/Constants.m
@@ -0,0 +1,26 @@
+/*
+ * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License").
+ * You may not use this file except in compliance with the License.
+ * A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed
+ * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing
+ * permissions and limitations under the License.
+ */
+
+#import "Constants.h"
+
+@implementation Constants
+
+
++(UIAlertView *)credentialsAlert
+{
+ return [[[UIAlertView alloc] initWithTitle:@"AWS Credentials" message:CREDENTIALS_ALERT_MESSAGE delegate:nil cancelButtonTitle:@"OK" otherButtonTitles:nil] autorelease];
+}
+
+@end
View
0 ...wser/Classes/S3/AddBucketViewController.h → ...Demo/Classes/S3/AddBucketViewController.h
File renamed without changes.
View
6 ...wser/Classes/S3/AddBucketViewController.m → ...Demo/Classes/S3/AddBucketViewController.m
@@ -14,7 +14,7 @@
*/
#import "AddBucketViewController.h"
-#import "Constants.h"
+#import "AmazonClientManager.h"
@implementation AddBucketViewController
@@ -25,9 +25,9 @@ -(IBAction)add:(id)sender
[bucketName resignFirstResponder];
@try {
- [[Constants s3] createBucket:[[[S3CreateBucketRequest alloc] initWithName:bucketName.text] autorelease]];
+ [[AmazonClientManager s3] createBucket:[[[S3CreateBucketRequest alloc] initWithName:bucketName.text] autorelease]];
}
- @catch (NSException *exception) {
+ @catch (AmazonClientException *exception) {
NSLog(@"Failed to Creater Bucket [%@]", exception);
}
View
0 ...er/Classes/S3/AddBucketViewController.xib → ...mo/Classes/S3/AddBucketViewController.xib
File renamed without changes.
View
0 ...wser/Classes/S3/AddObjectViewController.h → ...Demo/Classes/S3/AddObjectViewController.h
File renamed without changes.
View
6 ...wser/Classes/S3/AddObjectViewController.m → ...Demo/Classes/S3/AddObjectViewController.m
@@ -14,7 +14,7 @@
*/
#import "AddObjectViewController.h"
-#import "Constants.h"
+#import "AmazonClientManager.h"
@implementation AddObjectViewController
@@ -31,9 +31,9 @@ -(IBAction)add:(id)sender
S3PutObjectRequest *por = [[[S3PutObjectRequest alloc] initWithKey:objectName.text inBucket:self.bucket] autorelease];
por.data = data;
- [[Constants s3] putObject:por];
+ [[AmazonClientManager s3] putObject:por];
}
- @catch (NSException *exception) {
+ @catch (AmazonClientException *exception) {
NSLog(@"Failed to Create Object [%@]", exception);
}
View
0 ...er/Classes/S3/AddObjectViewController.xib → ...mo/Classes/S3/AddObjectViewController.xib
File renamed without changes.
View
0 samples/awsBrowser/Classes/S3/BucketList.h → ...OSDemo/AWSiOSDemo/Classes/S3/BucketList.h
File renamed without changes.
View
10 samples/awsBrowser/Classes/S3/BucketList.m → ...OSDemo/AWSiOSDemo/Classes/S3/BucketList.m
@@ -16,7 +16,7 @@
#import "BucketList.h"
#import <AWSiOSSDK/S3/AmazonS3Client.h>
#import "AddBucketViewController.h"
-#import "Constants.h"
+#import "AmazonClientManager.h"
#import "ObjectListing.h"
@implementation BucketList
@@ -29,7 +29,7 @@ -(id)init
-(void)viewWillAppear:(BOOL)animated
{
@try {
- NSArray *bucketNames = [[Constants s3] listBuckets];
+ NSArray *bucketNames = [[AmazonClientManager s3] listBuckets];
if (buckets == nil) {
buckets = [[NSMutableArray alloc] initWithCapacity:[bucketNames count]];
}
@@ -45,7 +45,7 @@ -(void)viewWillAppear:(BOOL)animated
[buckets sortUsingSelector:@selector(compare:)];
}
- @catch (AmazonServiceException *exception) {
+ @catch (AmazonClientException *exception) {
NSLog(@"Exception = %@", exception);
}
@@ -99,7 +99,7 @@ -(void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEdi
if (editingStyle == UITableViewCellEditingStyleDelete) {
@try {
S3DeleteBucketRequest *deleteBucketRequest = [[[S3DeleteBucketRequest alloc] initWithName:[buckets objectAtIndex:indexPath.row]] autorelease];
- [[Constants s3] deleteBucket:deleteBucketRequest];
+ [[AmazonClientManager s3] deleteBucket:deleteBucketRequest];
[buckets removeObjectAtIndex:indexPath.row];
@@ -109,7 +109,7 @@ -(void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEdi
[tableView deleteRowsAtIndexPaths:indexPaths withRowAnimation:UITableViewRowAnimationFade];
[tableView endUpdates];
}
- @catch (AmazonServiceException *exception) {
+ @catch (AmazonClientException *exception) {
NSLog(@"Exception = %@", exception);
}
}
View
0 samples/awsBrowser/Classes/S3/BucketList.xib → ...Demo/AWSiOSDemo/Classes/S3/BucketList.xib
File renamed without changes.
View
0 ...les/awsBrowser/Classes/S3/ObjectListing.h → ...emo/AWSiOSDemo/Classes/S3/ObjectListing.h
File renamed without changes.
View
12 ...les/awsBrowser/Classes/S3/ObjectListing.m → ...emo/AWSiOSDemo/Classes/S3/ObjectListing.m
@@ -16,7 +16,7 @@
#import <AWSiOSSDK/S3/AmazonS3Client.h>
#import "AddObjectViewController.h"
#import "ObjectViewController.h"
-#import "Constants.h"
+#import "AmazonClientManager.h"
@implementation ObjectListing
@@ -32,7 +32,7 @@ -(void)viewWillAppear:(BOOL)animated
@try {
S3ListObjectsRequest *listObjectRequest = [[[S3ListObjectsRequest alloc] initWithName:self.bucket] autorelease];
- S3ListObjectsResponse *listObjectResponse = [[Constants s3] listObjects:listObjectRequest];
+ S3ListObjectsResponse *listObjectResponse = [[AmazonClientManager s3] listObjects:listObjectRequest];
S3ListObjectsResult *listObjectsResults = listObjectResponse.listObjectsResult;
@@ -47,7 +47,7 @@ -(void)viewWillAppear:(BOOL)animated
}
[objects sortUsingSelector:@selector(compare:)];
}
- @catch (AmazonServiceException *exception) {
+ @catch (AmazonClientException *exception) {
NSLog(@"Exception = %@", exception);
[objects addObject:@"Unable to load objects!"];
}
@@ -116,7 +116,7 @@ -(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *
[self presentModalViewController:objectView animated:YES];
[objectView release];
}
- @catch (AmazonServiceException *exception) {
+ @catch (AmazonClientException *exception) {
NSLog(@"Exception = %@", exception);
}
}
@@ -129,7 +129,7 @@ -(void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEdi
dor.bucket = self.bucket;
dor.key = [objects objectAtIndex:indexPath.row];
- [[Constants s3] deleteObject:dor];
+ [[AmazonClientManager s3] deleteObject:dor];
[objects removeObjectAtIndex:indexPath.row];
NSArray *indexPaths = [NSArray arrayWithObjects:indexPath, nil];
@@ -138,7 +138,7 @@ -(void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEdi
[tableView deleteRowsAtIndexPaths:indexPaths withRowAnimation:UITableViewRowAnimationFade];
[tableView endUpdates];
}
- @catch (AmazonServiceException *exception) {
+ @catch (AmazonClientException *exception) {
NSLog(@"Exception = %@", exception);
}
}
View
0 ...s/awsBrowser/Classes/S3/ObjectListing.xib → ...o/AWSiOSDemo/Classes/S3/ObjectListing.xib
File renamed without changes.
View
0 ...Browser/Classes/S3/ObjectViewController.h → ...iOSDemo/Classes/S3/ObjectViewController.h
File renamed without changes.
View
6 ...Browser/Classes/S3/ObjectViewController.m → ...iOSDemo/Classes/S3/ObjectViewController.m
@@ -14,7 +14,7 @@
*/
#import "ObjectViewController.h"
-#import "Constants.h"
+#import "AmazonClientManager.h"
@implementation ObjectViewController
@@ -35,12 +35,12 @@ -(void)viewWillAppear:(BOOL)animated
{
@try {
S3GetObjectRequest *getObjectRequest = [[[S3GetObjectRequest alloc] initWithKey:self.objectName withBucket:self.bucket] autorelease];
- S3GetObjectResponse *getObjectResponse = [[Constants s3] getObject:getObjectRequest];
+ S3GetObjectResponse *getObjectResponse = [[AmazonClientManager s3] getObject:getObjectRequest];
self.objectNameLabel.text = self.objectName;
self.objectDataLabel.text = [[NSString alloc] initWithData:getObjectResponse.body encoding:NSUTF8StringEncoding];
}
- @catch (AmazonServiceException *exception) {
+ @catch (AmazonClientException *exception) {
NSLog(@"Exception = %@", exception);
}
}
View
0 ...owser/Classes/S3/ObjectViewController.xib → ...SDemo/Classes/S3/ObjectViewController.xib
File renamed without changes.
View
2 ...rowser/Classes/S3/S3AsyncViewController.h → ...OSDemo/Classes/S3/S3AsyncViewController.h
@@ -16,7 +16,7 @@
#import <UIKit/UIKit.h>
#import "S3RequestDelegate.h"
-#import "Constants.h"
+#import "AmazonClientManager.h"
@interface S3AsyncViewController:UIViewController {
IBOutlet UILabel *bytesIn;
View
12 ...rowser/Classes/S3/S3AsyncViewController.m → ...OSDemo/Classes/S3/S3AsyncViewController.m
@@ -15,7 +15,7 @@
#import "S3AsyncViewController.h"
-
+#import "Constants.h"
@implementation S3AsyncViewController
@@ -66,13 +66,13 @@ -(IBAction)exit:(id)sender
-(void)putObject
{
- NSString *bucketName = [NSString stringWithFormat:@"testing-async-with-s3-for%@", [ACCESS_KEY lowercaseString]];
+ NSString *bucketName = [NSString stringWithFormat:@"testing-async-with-s3-for%@", [ACCESS_KEY_ID lowercaseString]];
NSString *keyName = @"asyncTestFile";
NSString *filename = [[NSBundle mainBundle] pathForResource:@"temp" ofType:@"txt"];
// Create the Bucket to put the Object.
@try {
- [[Constants s3] createBucketWithName:bucketName];
+ [[AmazonClientManager s3] createBucketWithName:bucketName];
}
@catch (NSException *e) {
NSLog(@"%@", e);
@@ -85,20 +85,20 @@ -(void)putObject
[putObjectRequest setDelegate:s3Delegate];
// When using delegates the return is nil.
- [[Constants s3] putObject:putObjectRequest];
+ [[AmazonClientManager s3] putObject:putObjectRequest];
}
-(void)getObject
{
- NSString *bucketName = [NSString stringWithFormat:@"testing-async-with-s3-for%@", [ACCESS_KEY lowercaseString]];
+ NSString *bucketName = [NSString stringWithFormat:@"testing-async-with-s3-for%@", [ACCESS_KEY_ID lowercaseString]];
NSString *keyName = @"asyncTestFile";
// Get the object from the bucket.
getObjectRequest = [[S3GetObjectRequest alloc] initWithKey:keyName withBucket:bucketName];
[getObjectRequest setDelegate:s3Delegate];
// When using delegates the return is nil.
- [[Constants s3] getObject:getObjectRequest];
+ [[AmazonClientManager s3] getObject:getObjectRequest];
}
-(void)dealloc
View
0 ...wser/Classes/S3/S3AsyncViewController.xib → ...Demo/Classes/S3/S3AsyncViewController.xib
File renamed without changes.
View
0 ...es/awsBrowser/Classes/S3RequestDelegate.h → ...AWSiOSDemo/Classes/S3/S3RequestDelegate.h
File renamed without changes.
View
0 ...es/awsBrowser/Classes/S3RequestDelegate.m → ...AWSiOSDemo/Classes/S3/S3RequestDelegate.m
File renamed without changes.
View
0 samples/awsBrowser/Classes/DomainList.h → ...SDemo/AWSiOSDemo/Classes/SDB/DomainList.h
File renamed without changes.
View
6 samples/awsBrowser/Classes/DomainList.m → ...SDemo/AWSiOSDemo/Classes/SDB/DomainList.m
@@ -14,7 +14,7 @@
*/
#import "DomainList.h"
-#import "Constants.h"
+#import "AmazonClientManager.h"
#import "ItemListing.h"
@implementation DomainList
@@ -28,7 +28,7 @@ -(void)viewWillAppear:(BOOL)animated
{
@try {
SimpleDBListDomainsRequest *listDomainsRequest = [[[SimpleDBListDomainsRequest alloc] init] autorelease];
- SimpleDBListDomainsResponse *listDomainsResponse = [[Constants sdb] listDomains:listDomainsRequest];
+ SimpleDBListDomainsResponse *listDomainsResponse = [[AmazonClientManager sdb] listDomains:listDomainsRequest];
if (domains == nil) {
domains = [[NSMutableArray alloc] initWithCapacity:[listDomainsResponse.domainNames count]];
@@ -42,7 +42,7 @@ -(void)viewWillAppear:(BOOL)animated
[domains sortUsingSelector:@selector(compare:)];
}
- @catch (AmazonServiceException *exception) {
+ @catch (AmazonClientException *exception) {
NSLog(@"Exception = %@", exception);
}
View
0 samples/awsBrowser/Classes/DomainList.xib → ...emo/AWSiOSDemo/Classes/SDB/DomainList.xib
File renamed without changes.
View
0 samples/awsBrowser/Classes/ItemListing.h → ...Demo/AWSiOSDemo/Classes/SDB/ItemListing.h
File renamed without changes.
View
6 samples/awsBrowser/Classes/ItemListing.m → ...Demo/AWSiOSDemo/Classes/SDB/ItemListing.m
@@ -15,7 +15,7 @@
#import <AWSiOSSDK/SimpleDB/AmazonSimpleDBClient.h>
#import "ItemListing.h"
-#import "Constants.h"
+#import "AmazonClientManager.h"
#import "ItemViewController.h"
@implementation ItemListing
@@ -33,7 +33,7 @@ -(void)viewWillAppear:(BOOL)animated
@try {
SimpleDBSelectRequest *selectRequest = [[[SimpleDBSelectRequest alloc] initWithSelectExpression:selectExpression] autorelease];
- SimpleDBSelectResponse *selectResponse = [[Constants sdb] select:selectRequest];
+ SimpleDBSelectResponse *selectResponse = [[AmazonClientManager sdb] select:selectRequest];
if (items == nil) {
items = [[NSMutableArray alloc] initWithCapacity:[selectResponse.items count]];
@@ -46,7 +46,7 @@ -(void)viewWillAppear:(BOOL)animated
}
[items sortUsingSelector:@selector(compare:)];
}
- @catch (AmazonServiceException *exception) {
+ @catch (AmazonClientException *exception) {
NSLog(@"Exception = %@", exception);
}
View
0 samples/awsBrowser/Classes/ItemListing.xib → ...mo/AWSiOSDemo/Classes/SDB/ItemListing.xib
File renamed without changes.
View
0 ...s/awsBrowser/Classes/ItemViewController.h → ...SiOSDemo/Classes/SDB/ItemViewController.h
File renamed without changes.
View
6 ...s/awsBrowser/Classes/ItemViewController.m → ...SiOSDemo/Classes/SDB/ItemViewController.m
@@ -15,7 +15,7 @@
#import <AWSiOSSDK/SimpleDB/AmazonSimpleDBClient.h>
#import "ItemViewController.h"
-#import "Constants.h"
+#import "AmazonClientManager.h"
@implementation ItemViewController
@@ -35,7 +35,7 @@ -(void)viewWillAppear:(BOOL)animated
{
@try {
SimpleDBGetAttributesRequest *gar = [[[SimpleDBGetAttributesRequest alloc] initWithDomainName:self.domain andItemName:self.itemName] autorelease];
- SimpleDBGetAttributesResponse *response = [[Constants sdb] getAttributes:gar];
+ SimpleDBGetAttributesResponse *response = [[AmazonClientManager sdb] getAttributes:gar];
if (data == nil) {
data = [[NSMutableArray alloc] initWithCapacity:[response.attributes count]];
@@ -48,7 +48,7 @@ -(void)viewWillAppear:(BOOL)animated
}
[data sortUsingSelector:@selector(compare:)];
}
- @catch (AmazonServiceException *exception) {
+ @catch (AmazonClientException *exception) {
NSLog(@"Exception = %@", exception);
}
View
0 ...awsBrowser/Classes/ItemViewController.xib → ...OSDemo/Classes/SDB/ItemViewController.xib
File renamed without changes.
View
2 ...sBrowser/Classes/SdbAsyncViewController.h → ...Demo/Classes/SDB/SdbAsyncViewController.h
@@ -16,7 +16,7 @@
#import <UIKit/UIKit.h>
#import "SdbRequestDelegate.h"
-#import "Constants.h"
+#import "AmazonClientManager.h"
@interface SdbAsyncViewController:UIViewController {
IBOutlet UILabel *bytesIn;
View
7 ...sBrowser/Classes/SdbAsyncViewController.m → ...Demo/Classes/SDB/SdbAsyncViewController.m
@@ -15,6 +15,7 @@
#import "SdbAsyncViewController.h"
+#import "AmazonClientManager.h"
@implementation SdbAsyncViewController
@@ -109,7 +110,7 @@ -(void)createDomain
@try {
SimpleDBCreateDomainRequest *createDomainRequest = [[[SimpleDBCreateDomainRequest alloc] initWithDomainName:domainName] autorelease];
[createDomainRequest setDelegate:sdbDelegate];
- [[Constants sdb] createDomain:createDomainRequest];
+ [[AmazonClientManager sdb] createDomain:createDomainRequest];
}
@catch (NSException *exception) {
NSLog(@"%@", exception);
@@ -132,7 +133,7 @@ -(void)putAttributes
putAttributesRequest = [[SimpleDBPutAttributesRequest alloc] initWithDomainName:domainName andItemName:itemName andAttributes:attributes];
[putAttributesRequest setDelegate:sdbDelegate];
- [[Constants sdb] putAttributes:putAttributesRequest];
+ [[AmazonClientManager sdb] putAttributes:putAttributesRequest];
}
}
@catch (NSException *exception) {
@@ -148,7 +149,7 @@ -(void)selectAttributes
[selectRequest setDelegate:sdbDelegate];
selectRequest.consistentRead = YES;
- [[Constants sdb] select:selectRequest];
+ [[AmazonClientManager sdb] select:selectRequest];
}
@catch (NSException *exception) {
NSLog(@"%@", exception);
View
0 ...rowser/Classes/SdbAsyncViewController.xib → ...mo/Classes/SDB/SdbAsyncViewController.xib
File renamed without changes.
View
0 ...s/awsBrowser/Classes/SdbRequestDelegate.h → ...SiOSDemo/Classes/SDB/SdbRequestDelegate.h
File renamed without changes.
View
0 ...s/awsBrowser/Classes/SdbRequestDelegate.m → ...SiOSDemo/Classes/SDB/SdbRequestDelegate.m
File renamed without changes.
View
0 samples/awsBrowser/Classes/SNS/TopicList.h → ...OSDemo/AWSiOSDemo/Classes/SNS/TopicList.h
File renamed without changes.
View
6 samples/awsBrowser/Classes/SNS/TopicList.m → ...OSDemo/AWSiOSDemo/Classes/SNS/TopicList.m
@@ -14,7 +14,7 @@
*/
#import "TopicList.h"
-#import "Constants.h"
+#import "AmazonClientManager.h"
@implementation TopicList
@@ -27,7 +27,7 @@ -(void)viewWillAppear:(BOOL)animated
{
@try {
SNSListTopicsRequest *listTopicsRequest = [[[SNSListTopicsRequest alloc] init] autorelease];
- SNSListTopicsResponse *response = [[Constants sns] listTopics:listTopicsRequest];
+ SNSListTopicsResponse *response = [[AmazonClientManager sns] listTopics:listTopicsRequest];
if (topics == nil) {
topics = [[NSMutableArray alloc] initWithCapacity:[response.topics count]];
@@ -40,7 +40,7 @@ -(void)viewWillAppear:(BOOL)animated
}
[topics sortUsingSelector:@selector(compare:)];
}
- @catch (AmazonServiceException *exception) {
+ @catch (AmazonClientException *exception) {
NSLog(@"Exception = %@", exception);
}
[topicTableView reloadData];
View
0 samples/awsBrowser/Classes/SNS/TopicList.xib → ...Demo/AWSiOSDemo/Classes/SNS/TopicList.xib
File renamed without changes.
View
0 samples/awsBrowser/Classes/AddQueue.h → ...iOSDemo/AWSiOSDemo/Classes/SQS/AddQueue.h
File renamed without changes.
View
7 samples/awsBrowser/Classes/AddQueue.m → ...iOSDemo/AWSiOSDemo/Classes/SQS/AddQueue.m
@@ -14,19 +14,20 @@
*/
#import "AddQueue.h"
-#import "Constants.h"
+#import "AmazonClientManager.h"
+
@implementation AddQueue
-(IBAction)create:(id)sender
{
@try {
SQSCreateQueueRequest *createQueueRequest = [[[SQSCreateQueueRequest alloc] initWithQueueName:queueName.text] autorelease];
- [[Constants sqs] createQueue:createQueueRequest];
+ [[AmazonClientManager sqs] createQueue:createQueueRequest];
[self dismissModalViewControllerAnimated:YES];
}
- @catch (AmazonServiceException *exception) {
+ @catch (AmazonClientException *exception) {
NSLog(@"Exception = %@", exception);
}
}
View
0 samples/awsBrowser/Classes/AddQueue.xib → ...SDemo/AWSiOSDemo/Classes/SQS/AddQueue.xib
File renamed without changes.
View
0 samples/awsBrowser/Classes/Message.h → ...SiOSDemo/AWSiOSDemo/Classes/SQS/Message.h
File renamed without changes.
View
0 samples/awsBrowser/Classes/Message.m → ...SiOSDemo/AWSiOSDemo/Classes/SQS/Message.m
File renamed without changes.
View
0 samples/awsBrowser/Classes/Message.xib → ...OSDemo/AWSiOSDemo/Classes/SQS/Message.xib
File renamed without changes.
View
0 samples/awsBrowser/Classes/MessageList.h → ...Demo/AWSiOSDemo/Classes/SQS/MessageList.h
File renamed without changes.
View
10 samples/awsBrowser/Classes/MessageList.m → ...Demo/AWSiOSDemo/Classes/SQS/MessageList.m
@@ -15,7 +15,7 @@
#import "MessageList.h"
#import "SendMessage.h"
-#import "Constants.h"
+#import "AmazonClientManager.h"
#import "Message.h"
@implementation MessageList
@@ -44,10 +44,10 @@ -(void)viewWillAppear:(BOOL)animated
SQSReceiveMessageRequest *messageRequest = [[[SQSReceiveMessageRequest alloc] initWithQueueUrl:queue] autorelease];
messageRequest.maxNumberOfMessages = [NSNumber numberWithInt:10];
messageRequest.visibilityTimeout = [NSNumber numberWithInt:0];
- SQSReceiveMessageResponse *messageResponse = [[Constants sqs] receiveMessage:messageRequest];
+ SQSReceiveMessageResponse *messageResponse = [[AmazonClientManager sqs] receiveMessage:messageRequest];
messages = messageResponse.messages;
}
- @catch (AmazonServiceException *exception) {
+ @catch (AmazonClientException *exception) {
NSLog(@"Exception = %@", exception);
}
@@ -105,7 +105,7 @@ -(void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEdi
SQSMessage *selectedMessage = [messages objectAtIndex:indexPath.row];
SQSDeleteMessageRequest *deleteMessageRequest = [[[SQSDeleteMessageRequest alloc] initWithQueueUrl:queue andReceiptHandle:selectedMessage.receiptHandle] autorelease];
- [[Constants sqs] deleteMessage:deleteMessageRequest];
+ [[AmazonClientManager sqs] deleteMessage:deleteMessageRequest];
[messages removeObjectAtIndex:indexPath.row];
@@ -114,7 +114,7 @@ -(void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEdi
[messageTableView deleteRowsAtIndexPaths:indexPaths withRowAnimation:UITableViewRowAnimationFade];
[messageTableView endUpdates];
}
- @catch (AmazonServiceException *exception) {
+ @catch (AmazonClientException *exception) {
NSLog(@"Exception = %@", exception);
}
}
View
0 samples/awsBrowser/Classes/MessageList.xib → ...mo/AWSiOSDemo/Classes/SQS/MessageList.xib
File renamed without changes.
View
0 samples/awsBrowser/Classes/SQS/QueueList.h → ...OSDemo/AWSiOSDemo/Classes/SQS/QueueList.h
File renamed without changes.
View
12 samples/awsBrowser/Classes/SQS/QueueList.m → ...OSDemo/AWSiOSDemo/Classes/SQS/QueueList.m
@@ -14,7 +14,7 @@
*/
#import "QueueList.h"
-#import "Constants.h"
+#import "AmazonClientManager.h"
#import "MessageList.h"
#import "AddQueue.h"
@@ -44,7 +44,7 @@ -(void)viewWillAppear:(BOOL)animated
{
@try {
SQSListQueuesRequest *listQueuesRequest = [[[SQSListQueuesRequest alloc] init] autorelease];
- SQSListQueuesResponse *response = [[Constants sqs] listQueues:listQueuesRequest];
+ SQSListQueuesResponse *response = [[AmazonClientManager sqs] listQueues:listQueuesRequest];
if (queues == nil) {
queues = [[NSMutableArray alloc] initWithCapacity:[response.queueUrls count]];
@@ -58,7 +58,7 @@ -(void)viewWillAppear:(BOOL)animated
[queues sortUsingSelector:@selector(compare:)];
}
- @catch (AmazonServiceException *exception) {
+ @catch (AmazonClientException *exception) {
NSLog(@"Exception = %@", exception);
}
@@ -102,7 +102,7 @@ -(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *
[self presentModalViewController:messageList animated:YES];
[messageList release