From 4ed6d40af810756a90726a0625752de0776b9681 Mon Sep 17 00:00:00 2001 From: Zorg Date: Fri, 5 Aug 2016 21:49:25 -0400 Subject: [PATCH] Update deprecation documentation --- Sparkle/SUUpdaterDelegate.h | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/Sparkle/SUUpdaterDelegate.h b/Sparkle/SUUpdaterDelegate.h index 65c7228a..de377c48 100644 --- a/Sparkle/SUUpdaterDelegate.h +++ b/Sparkle/SUUpdaterDelegate.h @@ -224,10 +224,15 @@ SU_EXPORT extern NSString *const SUUpdaterAppcastNotificationKey; - (id)versionComparatorForUpdater:(id)updater; /*! - @deprecated This method is no longer used. See SUStandardUserUpdaterDriver delegate instead. + \deprecated See SUStandardUserUpdaterDriver delegate instead. + + Returns an object that formats version numbers for display to the user. + If you don't implement this method or return \c nil, the standard version formatter will be used. + + \sa SUUpdateAlert + \param updater The updater instance. */ -// Don't specify SUVersionDisplay in the return type, otherwise we'd have to forward declare a protocol that isn't used here anymore -- (id)versionDisplayerForUpdater:(id)updater __deprecated; +- (id)versionDisplayerForUpdater:(id)updater __deprecated; // Don't specify SUVersionDisplay in the return type, otherwise we'd have to forward declare a protocol that isn't used here anymore /*! Returns the path to the application which is used to relaunch after the update is installed. @@ -270,7 +275,7 @@ SU_EXPORT extern NSString *const SUUpdaterAppcastNotificationKey; \param updater The updater instance. - @deprecated See SUStandardUserUpdaterDriver delegate instead. This method is no longer invoked. + @deprecated See SUStandardUserUpdaterDriver delegate instead. */ - (void)updaterWillShowModalAlert:(id)updater __deprecated; @@ -280,7 +285,7 @@ SU_EXPORT extern NSString *const SUUpdaterAppcastNotificationKey; \param updater The updater instance. - @deprecated See SUStandardUserUpdaterDriver delegate instead. This method is no longer invoked. + @deprecated See SUStandardUserUpdaterDriver delegate instead. */ - (void)updaterDidShowModalAlert:(id)updater __deprecated;