Ben Copsey

ASINetwork queues now show the network progress indicator while network operations are in progress

(Based on Ken Collins' stuff here: http://pastie.org/550508)
Clean up ASINetworkQueue to use accessors everywhere to make subclassing easier
@@ -87,6 +87,13 @@ @@ -87,6 +87,13 @@
87 // This method will start the queue 87 // This method will start the queue
88 - (void)go; 88 - (void)go;
89 89
  90 +// Used on iPhone platform to show / hide the network activity indicator (in the status bar)
  91 +// On mac, you could subclass to do something else
  92 +- (void)updateNetworkActivityIndicator;
  93 +
  94 +// Returns YES if the queue is in progress
  95 +- (BOOL)isNetworkActive;
  96 +
90 97
91 @property (assign,setter=setUploadProgressDelegate:) id uploadProgressDelegate; 98 @property (assign,setter=setUploadProgressDelegate:) id uploadProgressDelegate;
92 @property (assign,setter=setDownloadProgressDelegate:) id downloadProgressDelegate; 99 @property (assign,setter=setDownloadProgressDelegate:) id downloadProgressDelegate;
This diff is collapsed. Click to expand it.