Is there any idiomatic way to track execution progress using PromiseKit? For example with Alamofire downloading progress?
Asked
Active
Viewed 719 times
1
-
That is a job for RxSwift, ReactiveKit, Interstellar, or one of the other reactive libraries. – Daniel T. May 13 '17 at 01:50
1 Answers
0
You can see @mxcl (creator of PromiseKit) commented about that: https://github.com/mxcl/PromiseKit/issues/127#issuecomment-103668741
Basically, you can use the NSProgress
to track the progress of a network task. Alamofire supports that, have a look at the documentation: https://github.com/Alamofire/Alamofire/blob/c563be562f3c9ff327919bb88599e3082db3abda/Documentation/Usage.md#download-progress

ricardopereira
- 11,118
- 5
- 63
- 81