Skip to content

Commit

Permalink
Merge pull request #4 from matteocrippa/master
Browse files Browse the repository at this point in the history
Added onDuplicateDownload block to notify once a file that is in queueli...
  • Loading branch information
Norsez Orankijanan committed Oct 28, 2013
2 parents 6c6bb7a + dc094c0 commit 446f992
Show file tree
Hide file tree
Showing 2 changed files with 324 additions and 308 deletions.
3 changes: 3 additions & 0 deletions Classes/BDMultiDownloader.h
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,9 @@
the queue which completion block is executed in. If NULL, execute in main queue.
*/
@property (nonatomic, assign) dispatch_queue_t completionQueue;

//block called when a file is enqueued more than a time
@property (nonatomic, copy) void (^onDuplicateDownload)(NSString*);
//block called when encountered error
@property (nonatomic, copy) void (^onNetworkError)(NSError*);
//block called to indicates network activity. YES when there's network activity from this class. No otherwise. This can be used to toggle iOS's network status indicator.
Expand Down
Loading

0 comments on commit 446f992

Please sign in to comment.