diff --git a/Sparkle/SPUStandardUpdaterController.h b/Sparkle/SPUStandardUpdaterController.h index da1e011b..a877e485 100644 --- a/Sparkle/SPUStandardUpdaterController.h +++ b/Sparkle/SPUStandardUpdaterController.h @@ -32,11 +32,9 @@ NS_ASSUME_NONNULL_BEGIN up the updater's and user driver's delegates. This controller class may not be valuable to you if: - * You want to control or defer the instantiation of an SPUUpdater, or don't want to be tied into a nib's instantiation, or don't want to use a nib + * You want to control or defer starting the SPUUpdater, or don't want to be tied into a nib's instantiation, or don't want to use a nib * You want to target a bundle that's not the main bundle - * You want to provide a custom user interface, or perhaps one that provides little-to-none - * You don't want to use a convenience class that provides very little glue ;) - + * You want to provide a custom user interface (SPUUserDriver), or perhaps one that provides little-to-none */ SU_EXPORT @interface SPUStandardUpdaterController : NSObject diff --git a/Sparkle/SPUUpdater.h b/Sparkle/SPUUpdater.h index 33e256f2..ff896eb3 100644 --- a/Sparkle/SPUUpdater.h +++ b/Sparkle/SPUUpdater.h @@ -48,6 +48,13 @@ SU_EXPORT @interface SPUUpdater : NSObject */ - (instancetype)initWithHostBundle:(NSBundle *)hostBundle applicationBundle:(NSBundle *)applicationBundle userDriver:(id )userDriver delegate:(id _Nullable)delegate; +/*! + Use -initWithHostBundle:applicationBundle:userDriver:delegate: or SPUStandardUpdaterController standard adapter instead. + + If you want to drop an updater into a nib, use SPUStandardUpdaterController. + */ +- (instancetype)init NS_UNAVAILABLE; + /*! Starts the updater. diff --git a/Sparkle/SUUpdater.m b/Sparkle/SUUpdater.m index 2217f78d..0065dde1 100644 --- a/Sparkle/SUUpdater.m +++ b/Sparkle/SUUpdater.m @@ -91,7 +91,7 @@ static NSMutableDictionary *sharedUpdaters = nil; // This will be used when the updater is instantiated in a nib such as MainMenu - (instancetype)init { - SULog(SULogLevelDefault, @"DEPRECATION: SUUpdater is now deprecated. Please use SPUStandardUpdaterController as a nib instantiated replacement, or SPUUpdater."); + SULog(SULogLevelDefault, @"DEPRECATION: SUUpdater is deprecated in Sparkle 2 but functional for transitional purposes. Please migrate to SPUStandardUpdaterController as a nib instantiated replacement, or SPUUpdater."); return [self initForBundle:[NSBundle mainBundle]]; }