Using PromiseKit to force sequential download
问题 I am using PromiseKit and would like to force sequential download of JSONs. The count of JSONs might change. I have read this about chaining. If I had a fixed number of say 3 downloads, this would be fine. But what if I had a changing count of download that I would like to download sequentially? This is my code for 2 URLs. I wonder how I could do this with dateUrlArray[i] iteration over the array? - (void)downloadJSONWithPromiseKitDateArray:(NSMutableArray *)dateUrlArray { [self