1

Is there any idiomatic way to track execution progress using PromiseKit? For example with Alamofire downloading progress?

ricardopereira
  • 11,118
  • 5
  • 63
  • 81
pgmarchenko
  • 121
  • 1
  • 8

1 Answers1

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