Rename did finish downloaading callbacks to did start extracting

This commit is contained in:
Zorg committed 2016-07-24 13:29:03 -04:00
1 parent 48938d0e78
commit 5c0ee2d74a
8 files changed
+12 -12

No files matched your search

+1 -1
View File
@@ -35,7 +35,7 @@ NS_ASSUME_NONNULL_BEGIN
- (void)downloadDriverDidReceiveDataOfLength:(NSUInteger)length;
- (void)coreDriverDidFinishDownloadingUpdate;
- (void)coreDriverDidStartExtractingUpdate;
- (void)installerDidStartInstalling;
+2 -2
View File
@@ -170,8 +170,8 @@
- (void)extractUpdate:(SUDownloadedUpdate *)downloadedUpdate
{
// Now we have to extract the downloaded archive.
if ([self.delegate respondsToSelector:@selector(coreDriverDidFinishDownloadingUpdate)]) {
[self.delegate coreDriverDidFinishDownloadingUpdate];
if ([self.delegate respondsToSelector:@selector(coreDriverDidStartExtractingUpdate)]) {
[self.delegate coreDriverDidStartExtractingUpdate];
}
[self.installerDriver extractDownloadedUpdate:downloadedUpdate silently:self.silentInstall completion:^(NSError * _Nullable error) {
+1 -1
View File
@@ -366,7 +366,7 @@
});
}
- (void)showDownloadFinishedAndStartedExtractingUpdate
- (void)showDownloadDidStartExtractingUpdate
{
dispatch_async(dispatch_get_main_queue(), ^{
[self.coreComponent completeDownloadStatus];
+2 -2
View File
@@ -160,9 +160,9 @@
[self.userDriver showDownloadDidReceiveDataOfLength:length];
}
- (void)coreDriverDidFinishDownloadingUpdate
- (void)coreDriverDidStartExtractingUpdate
{
[self.userDriver showDownloadFinishedAndStartedExtractingUpdate];
[self.userDriver showDownloadDidStartExtractingUpdate];
}
- (void)installerDidStartInstalling
+3 -3
View File
@@ -200,9 +200,9 @@ NS_ASSUME_NONNULL_BEGIN
* Let the user know that downloading the new update started.
*
* @param downloadUpdateStatusCompletion A reply of SUDownloadUpdateCancelled can be used to cancel
* the download at any point before -showDownloadFinishedAndStartedExtractingUpdate is invoked.
* the download at any point before -showDownloadDidStartExtractingUpdate is invoked.
* A reply of SUDownloadUpdateDone signifies that the download is done, which should not be invoked until
* -showDownloadFinishedAndStartedExtractingUpdate
* -showDownloadDidStartExtractingUpdate
*
* This can be called from any thread
*/
@@ -235,7 +235,7 @@ NS_ASSUME_NONNULL_BEGIN
*
* This can be called from any thread
*/
- (void)showDownloadFinishedAndStartedExtractingUpdate;
- (void)showDownloadDidStartExtractingUpdate;
/*!
* Show the user that the update is extracting with progress
+1 -1
View File
@@ -304,7 +304,7 @@
});
}
- (void)showDownloadFinishedAndStartedExtractingUpdate
- (void)showDownloadDidStartExtractingUpdate
{
dispatch_async(dispatch_get_main_queue(), ^{
[self.coreComponent completeDownloadStatus];
+1 -1
View File
@@ -51,7 +51,7 @@
- (void)showDownloadDidReceiveDataOfLength:(NSUInteger)__unused length {}
- (void)showDownloadFinishedAndStartedExtractingUpdate {}
- (void)showDownloadDidStartExtractingUpdate {}
- (void)showExtractionReceivedProgress:(double)__unused progress {}
+1 -1
View File
@@ -234,7 +234,7 @@
});
}
- (void)showDownloadFinishedAndStartedExtractingUpdate
- (void)showDownloadDidStartExtractingUpdate
{
dispatch_async(dispatch_get_main_queue(), ^{
[self.coreComponent completeDownloadStatus];