From 033f59e643d65c63ac07287e3e0d582b3f186b9c Mon Sep 17 00:00:00 2001 From: Zorg Date: Fri, 6 May 2016 19:36:46 -0400 Subject: [PATCH] Comment on why these delegate methods are being implemented --- sparkle-cli/SUCommandLineDriver.m | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sparkle-cli/SUCommandLineDriver.m b/sparkle-cli/SUCommandLineDriver.m index 3a92f84c..32b10b69 100644 --- a/sparkle-cli/SUCommandLineDriver.m +++ b/sparkle-cli/SUCommandLineDriver.m @@ -60,6 +60,7 @@ return YES; } +// In case we find an update during probing, otherwise we leave this to the user driver - (void)updater:(SUUpdater *)__unused updater didFindValidUpdate:(SUAppcastItem *)__unused item { if (self.probingForUpdates) { @@ -70,6 +71,7 @@ } } +// In case we fail during probing, otherwise we leave error handling to the user driver - (void)updaterDidNotFindUpdate:(SUUpdater *)__unused updater { if (self.probingForUpdates) { @@ -80,6 +82,7 @@ } } +// In case we fail during probing, otherwise we leave error handling to the user driver - (void)updater:(SUUpdater *)__unused updater didAbortWithError:(NSError *)error { if (self.probingForUpdates) {