Closed ptmt closed 8 years ago
I have the use case when the build is being forced to download on the start-up time, even on slow connections. It would useful to show a UIProgressView at that time.
This PR adds a special hook to AHBuildManager.
My AppDelegate is something like this:
UIProgressView progressView = (UIProgressView )[_launchView subviews].lastObject; [[AppHub buildManager] setTaskHandlerBlock:^(NSURLSessionDownloadTask *task){ [progressView setProgressWithDownloadProgressOfTask:task animated:YES]; }];
Sorry for not squashed commits.
Awesome, thanks for the PR @ptmt!
Thanks! :)
I have the use case when the build is being forced to download on the start-up time, even on slow connections. It would useful to show a UIProgressView at that time.
This PR adds a special hook to AHBuildManager.
My AppDelegate is something like this:
UIProgressView progressView = (UIProgressView )[_launchView subviews].lastObject; [[AppHub buildManager] setTaskHandlerBlock:^(NSURLSessionDownloadTask *task){ [progressView setProgressWithDownloadProgressOfTask:task animated:YES]; }];
Sorry for not squashed commits.