Showing
3 changed files
with
63 additions
and
10 deletions
| @@ -17,6 +17,7 @@ | @@ -17,6 +17,7 @@ | ||
| 17 | IBOutlet UIImageView *imageView2; | 17 | IBOutlet UIImageView *imageView2; |
| 18 | IBOutlet UIImageView *imageView3; | 18 | IBOutlet UIImageView *imageView3; |
| 19 | IBOutlet UIProgressView *progressIndicator; | 19 | IBOutlet UIProgressView *progressIndicator; |
| 20 | + IBOutlet UISwitch *accurateProgress; | ||
| 20 | 21 | ||
| 21 | } | 22 | } |
| 22 | 23 |
| @@ -27,6 +27,7 @@ | @@ -27,6 +27,7 @@ | ||
| 27 | [networkQueue cancelAllOperations]; | 27 | [networkQueue cancelAllOperations]; |
| 28 | [networkQueue setDownloadProgressDelegate:progressIndicator]; | 28 | [networkQueue setDownloadProgressDelegate:progressIndicator]; |
| 29 | [networkQueue setRequestDidFinishSelector:@selector(imageFetchComplete:)]; | 29 | [networkQueue setRequestDidFinishSelector:@selector(imageFetchComplete:)]; |
| 30 | + [networkQueue setShowAccurateProgress:[accurateProgress isOn]]; | ||
| 30 | [networkQueue setDelegate:self]; | 31 | [networkQueue setDelegate:self]; |
| 31 | 32 | ||
| 32 | ASIHTTPRequest *request; | 33 | ASIHTTPRequest *request; |
| @@ -41,7 +41,7 @@ | @@ -41,7 +41,7 @@ | ||
| 41 | <double key="NSSize">1.400000e+01</double> | 41 | <double key="NSSize">1.400000e+01</double> |
| 42 | <int key="NSfFlags">16</int> | 42 | <int key="NSfFlags">16</int> |
| 43 | </object> | 43 | </object> |
| 44 | - <object class="NSColor" key="IBUITextColor"> | 44 | + <object class="NSColor" key="IBUITextColor" id="87390567"> |
| 45 | <int key="NSColorSpace">1</int> | 45 | <int key="NSColorSpace">1</int> |
| 46 | <bytes key="NSRGB">MCAwIDAAA</bytes> | 46 | <bytes key="NSRGB">MCAwIDAAA</bytes> |
| 47 | </object> | 47 | </object> |
| @@ -53,7 +53,7 @@ | @@ -53,7 +53,7 @@ | ||
| 53 | <object class="IBUIButton" id="963091686"> | 53 | <object class="IBUIButton" id="963091686"> |
| 54 | <reference key="NSNextResponder" ref="191373211"/> | 54 | <reference key="NSNextResponder" ref="191373211"/> |
| 55 | <int key="NSvFlags">292</int> | 55 | <int key="NSvFlags">292</int> |
| 56 | - <string key="NSFrame">{{20, 99}, {72, 37}}</string> | 56 | + <string key="NSFrame">{{20, 88}, {72, 37}}</string> |
| 57 | <reference key="NSSuperview" ref="191373211"/> | 57 | <reference key="NSSuperview" ref="191373211"/> |
| 58 | <bool key="IBUIOpaque">NO</bool> | 58 | <bool key="IBUIOpaque">NO</bool> |
| 59 | <bool key="IBUIClearsContextBeforeDrawing">NO</bool> | 59 | <bool key="IBUIClearsContextBeforeDrawing">NO</bool> |
| @@ -81,7 +81,7 @@ | @@ -81,7 +81,7 @@ | ||
| 81 | <object class="IBUIImageView" id="512691955"> | 81 | <object class="IBUIImageView" id="512691955"> |
| 82 | <reference key="NSNextResponder" ref="191373211"/> | 82 | <reference key="NSNextResponder" ref="191373211"/> |
| 83 | <int key="NSvFlags">292</int> | 83 | <int key="NSvFlags">292</int> |
| 84 | - <string key="NSFrame">{{20, 149}, {135, 87}}</string> | 84 | + <string key="NSFrame">{{20, 184}, {135, 87}}</string> |
| 85 | <reference key="NSSuperview" ref="191373211"/> | 85 | <reference key="NSSuperview" ref="191373211"/> |
| 86 | <bool key="IBUIOpaque">NO</bool> | 86 | <bool key="IBUIOpaque">NO</bool> |
| 87 | <bool key="IBUIClearsContextBeforeDrawing">NO</bool> | 87 | <bool key="IBUIClearsContextBeforeDrawing">NO</bool> |
| @@ -91,7 +91,7 @@ | @@ -91,7 +91,7 @@ | ||
| 91 | <object class="IBUIImageView" id="496427125"> | 91 | <object class="IBUIImageView" id="496427125"> |
| 92 | <reference key="NSNextResponder" ref="191373211"/> | 92 | <reference key="NSNextResponder" ref="191373211"/> |
| 93 | <int key="NSvFlags">292</int> | 93 | <int key="NSvFlags">292</int> |
| 94 | - <string key="NSFrame">{{20, 244}, {135, 87}}</string> | 94 | + <string key="NSFrame">{{20, 279}, {135, 87}}</string> |
| 95 | <reference key="NSSuperview" ref="191373211"/> | 95 | <reference key="NSSuperview" ref="191373211"/> |
| 96 | <bool key="IBUIOpaque">NO</bool> | 96 | <bool key="IBUIOpaque">NO</bool> |
| 97 | <bool key="IBUIClearsContextBeforeDrawing">NO</bool> | 97 | <bool key="IBUIClearsContextBeforeDrawing">NO</bool> |
| @@ -101,7 +101,7 @@ | @@ -101,7 +101,7 @@ | ||
| 101 | <object class="IBUIImageView" id="393184766"> | 101 | <object class="IBUIImageView" id="393184766"> |
| 102 | <reference key="NSNextResponder" ref="191373211"/> | 102 | <reference key="NSNextResponder" ref="191373211"/> |
| 103 | <int key="NSvFlags">292</int> | 103 | <int key="NSvFlags">292</int> |
| 104 | - <string key="NSFrame">{{163, 149}, {137, 87}}</string> | 104 | + <string key="NSFrame">{{163, 184}, {137, 87}}</string> |
| 105 | <reference key="NSSuperview" ref="191373211"/> | 105 | <reference key="NSSuperview" ref="191373211"/> |
| 106 | <bool key="IBUIOpaque">NO</bool> | 106 | <bool key="IBUIOpaque">NO</bool> |
| 107 | <bool key="IBUIClearsContextBeforeDrawing">NO</bool> | 107 | <bool key="IBUIClearsContextBeforeDrawing">NO</bool> |
| @@ -111,12 +111,37 @@ | @@ -111,12 +111,37 @@ | ||
| 111 | <object class="IBUIProgressView" id="138477738"> | 111 | <object class="IBUIProgressView" id="138477738"> |
| 112 | <reference key="NSNextResponder" ref="191373211"/> | 112 | <reference key="NSNextResponder" ref="191373211"/> |
| 113 | <int key="NSvFlags">292</int> | 113 | <int key="NSvFlags">292</int> |
| 114 | - <string key="NSFrame">{{20, 350}, {280, 9}}</string> | 114 | + <string key="NSFrame">{{20, 379}, {280, 9}}</string> |
| 115 | <reference key="NSSuperview" ref="191373211"/> | 115 | <reference key="NSSuperview" ref="191373211"/> |
| 116 | <bool key="IBUIOpaque">NO</bool> | 116 | <bool key="IBUIOpaque">NO</bool> |
| 117 | <bool key="IBUIClipsSubviews">YES</bool> | 117 | <bool key="IBUIClipsSubviews">YES</bool> |
| 118 | <bool key="IBUIMultipleTouchEnabled">YES</bool> | 118 | <bool key="IBUIMultipleTouchEnabled">YES</bool> |
| 119 | </object> | 119 | </object> |
| 120 | + <object class="IBUISwitch" id="104706742"> | ||
| 121 | + <reference key="NSNextResponder" ref="191373211"/> | ||
| 122 | + <int key="NSvFlags">292</int> | ||
| 123 | + <string key="NSFrame">{{179, 140}, {94, 27}}</string> | ||
| 124 | + <reference key="NSSuperview" ref="191373211"/> | ||
| 125 | + <bool key="IBUIOpaque">NO</bool> | ||
| 126 | + <bool key="IBUIClipsSubviews">YES</bool> | ||
| 127 | + <bool key="IBUIMultipleTouchEnabled">YES</bool> | ||
| 128 | + <int key="IBUIContentHorizontalAlignment">0</int> | ||
| 129 | + <int key="IBUIContentVerticalAlignment">0</int> | ||
| 130 | + </object> | ||
| 131 | + <object class="IBUILabel" id="365204290"> | ||
| 132 | + <reference key="NSNextResponder" ref="191373211"/> | ||
| 133 | + <int key="NSvFlags">292</int> | ||
| 134 | + <string key="NSFrame">{{20, 140}, {143, 21}}</string> | ||
| 135 | + <reference key="NSSuperview" ref="191373211"/> | ||
| 136 | + <bool key="IBUIOpaque">NO</bool> | ||
| 137 | + <bool key="IBUIClipsSubviews">YES</bool> | ||
| 138 | + <bool key="IBUIUserInteractionEnabled">NO</bool> | ||
| 139 | + <string key="IBUIText">Accurate progress:</string> | ||
| 140 | + <reference key="IBUITextColor" ref="87390567"/> | ||
| 141 | + <nil key="IBUIHighlightedColor"/> | ||
| 142 | + <int key="IBUIBaselineAdjustment">1</int> | ||
| 143 | + <float key="IBUIMinimumFontSize">1.000000e+01</float> | ||
| 144 | + </object> | ||
| 120 | </object> | 145 | </object> |
| 121 | <string key="NSFrameSize">{320, 460}</string> | 146 | <string key="NSFrameSize">{320, 460}</string> |
| 122 | <reference key="NSSuperview"/> | 147 | <reference key="NSSuperview"/> |
| @@ -182,6 +207,14 @@ | @@ -182,6 +207,14 @@ | ||
| 182 | </object> | 207 | </object> |
| 183 | <int key="connectionID">20</int> | 208 | <int key="connectionID">20</int> |
| 184 | </object> | 209 | </object> |
| 210 | + <object class="IBConnectionRecord"> | ||
| 211 | + <object class="IBCocoaTouchOutletConnection" key="connection"> | ||
| 212 | + <string key="label">accurateProgress</string> | ||
| 213 | + <reference key="source" ref="372490531"/> | ||
| 214 | + <reference key="destination" ref="104706742"/> | ||
| 215 | + </object> | ||
| 216 | + <int key="connectionID">23</int> | ||
| 217 | + </object> | ||
| 185 | </object> | 218 | </object> |
| 186 | <object class="IBMutableOrderedSet" key="objectRecords"> | 219 | <object class="IBMutableOrderedSet" key="objectRecords"> |
| 187 | <object class="NSArray" key="orderedObjects"> | 220 | <object class="NSArray" key="orderedObjects"> |
| @@ -199,12 +232,14 @@ | @@ -199,12 +232,14 @@ | ||
| 199 | <reference key="object" ref="191373211"/> | 232 | <reference key="object" ref="191373211"/> |
| 200 | <object class="NSMutableArray" key="children"> | 233 | <object class="NSMutableArray" key="children"> |
| 201 | <bool key="EncodedWithXMLCoder">YES</bool> | 234 | <bool key="EncodedWithXMLCoder">YES</bool> |
| 202 | - <reference ref="496427125"/> | ||
| 203 | <reference ref="393184766"/> | 235 | <reference ref="393184766"/> |
| 204 | - <reference ref="138477738"/> | ||
| 205 | - <reference ref="963091686"/> | ||
| 206 | <reference ref="512691955"/> | 236 | <reference ref="512691955"/> |
| 237 | + <reference ref="138477738"/> | ||
| 238 | + <reference ref="496427125"/> | ||
| 207 | <reference ref="602749642"/> | 239 | <reference ref="602749642"/> |
| 240 | + <reference ref="963091686"/> | ||
| 241 | + <reference ref="365204290"/> | ||
| 242 | + <reference ref="104706742"/> | ||
| 208 | </object> | 243 | </object> |
| 209 | <reference key="parent" ref="360949347"/> | 244 | <reference key="parent" ref="360949347"/> |
| 210 | </object> | 245 | </object> |
| @@ -249,6 +284,16 @@ | @@ -249,6 +284,16 @@ | ||
| 249 | <reference key="object" ref="138477738"/> | 284 | <reference key="object" ref="138477738"/> |
| 250 | <reference key="parent" ref="191373211"/> | 285 | <reference key="parent" ref="191373211"/> |
| 251 | </object> | 286 | </object> |
| 287 | + <object class="IBObjectRecord"> | ||
| 288 | + <int key="objectID">21</int> | ||
| 289 | + <reference key="object" ref="104706742"/> | ||
| 290 | + <reference key="parent" ref="191373211"/> | ||
| 291 | + </object> | ||
| 292 | + <object class="IBObjectRecord"> | ||
| 293 | + <int key="objectID">22</int> | ||
| 294 | + <reference key="object" ref="365204290"/> | ||
| 295 | + <reference key="parent" ref="191373211"/> | ||
| 296 | + </object> | ||
| 252 | </object> | 297 | </object> |
| 253 | </object> | 298 | </object> |
| 254 | <object class="NSMutableDictionary" key="flattenedProperties"> | 299 | <object class="NSMutableDictionary" key="flattenedProperties"> |
| @@ -263,6 +308,8 @@ | @@ -263,6 +308,8 @@ | ||
| 263 | <string>12.IBPluginDependency</string> | 308 | <string>12.IBPluginDependency</string> |
| 264 | <string>13.IBPluginDependency</string> | 309 | <string>13.IBPluginDependency</string> |
| 265 | <string>14.IBPluginDependency</string> | 310 | <string>14.IBPluginDependency</string> |
| 311 | + <string>21.IBPluginDependency</string> | ||
| 312 | + <string>22.IBPluginDependency</string> | ||
| 266 | <string>8.IBPluginDependency</string> | 313 | <string>8.IBPluginDependency</string> |
| 267 | <string>9.IBPluginDependency</string> | 314 | <string>9.IBPluginDependency</string> |
| 268 | </object> | 315 | </object> |
| @@ -278,6 +325,8 @@ | @@ -278,6 +325,8 @@ | ||
| 278 | <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> | 325 | <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> |
| 279 | <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> | 326 | <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> |
| 280 | <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> | 327 | <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> |
| 328 | + <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> | ||
| 329 | + <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> | ||
| 281 | </object> | 330 | </object> |
| 282 | </object> | 331 | </object> |
| 283 | <object class="NSMutableDictionary" key="unlocalizedProperties"> | 332 | <object class="NSMutableDictionary" key="unlocalizedProperties"> |
| @@ -300,7 +349,7 @@ | @@ -300,7 +349,7 @@ | ||
| 300 | </object> | 349 | </object> |
| 301 | </object> | 350 | </object> |
| 302 | <nil key="sourceID"/> | 351 | <nil key="sourceID"/> |
| 303 | - <int key="maxID">20</int> | 352 | + <int key="maxID">23</int> |
| 304 | </object> | 353 | </object> |
| 305 | <object class="IBClassDescriber" key="IBDocument.Classes"> | 354 | <object class="IBClassDescriber" key="IBDocument.Classes"> |
| 306 | <object class="NSMutableArray" key="referencedPartialClassDescriptions"> | 355 | <object class="NSMutableArray" key="referencedPartialClassDescriptions"> |
| @@ -316,6 +365,7 @@ | @@ -316,6 +365,7 @@ | ||
| 316 | <bool key="EncodedWithXMLCoder">YES</bool> | 365 | <bool key="EncodedWithXMLCoder">YES</bool> |
| 317 | <object class="NSMutableArray" key="dict.sortedKeys"> | 366 | <object class="NSMutableArray" key="dict.sortedKeys"> |
| 318 | <bool key="EncodedWithXMLCoder">YES</bool> | 367 | <bool key="EncodedWithXMLCoder">YES</bool> |
| 368 | + <string>accurateProgress</string> | ||
| 319 | <string>imageView1</string> | 369 | <string>imageView1</string> |
| 320 | <string>imageView2</string> | 370 | <string>imageView2</string> |
| 321 | <string>imageView3</string> | 371 | <string>imageView3</string> |
| @@ -323,6 +373,7 @@ | @@ -323,6 +373,7 @@ | ||
| 323 | </object> | 373 | </object> |
| 324 | <object class="NSMutableArray" key="dict.values"> | 374 | <object class="NSMutableArray" key="dict.values"> |
| 325 | <bool key="EncodedWithXMLCoder">YES</bool> | 375 | <bool key="EncodedWithXMLCoder">YES</bool> |
| 376 | + <string>UISwitch</string> | ||
| 326 | <string>UIImageView</string> | 377 | <string>UIImageView</string> |
| 327 | <string>UIImageView</string> | 378 | <string>UIImageView</string> |
| 328 | <string>UIImageView</string> | 379 | <string>UIImageView</string> |
-
Please register or login to post a comment