From f26811b4398b4fe2de499ae1c97152ec91f10d01 Mon Sep 17 00:00:00 2001 From: Zorg Date: Tue, 1 Mar 2016 19:19:01 -0500 Subject: [PATCH] Document resetUpdateCycleAfterShortDelay and updateInProgress --- Sparkle/SUUpdater.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/Sparkle/SUUpdater.h b/Sparkle/SUUpdater.h index 62fc2749..c84d3c9a 100644 --- a/Sparkle/SUUpdater.h +++ b/Sparkle/SUUpdater.h @@ -111,8 +111,21 @@ SU_EXPORT @interface SUUpdater : NSObject */ - (void)resetUpdateCycle; +/*! + Resets the update cycle after a short delay + + This may be appropriate for when a user changes preferences for time interval and automatic checks, + but have not made their mind yet and decide to toggle the preferences back immediately. + + See -resetUpdateCycle for more details + */ - (void)resetUpdateCycleAfterShortDelay; +/*! + Returns if an update is in progress or not + + This may be used for menu item validation to see if the user can check for updates. + */ @property (readonly) BOOL updateInProgress; @end