diff --git a/Sparkle/SPUAppcastItemStateResolver.h b/Sparkle/SPUAppcastItemStateResolver.h index 1accdde5..e05779f7 100644 --- a/Sparkle/SPUAppcastItemStateResolver.h +++ b/Sparkle/SPUAppcastItemStateResolver.h @@ -25,6 +25,8 @@ NS_ASSUME_NONNULL_BEGIN // Class used to resolve Appcast Item properties that rely on external factors such as a host SU_EXPORT @interface SPUAppcastItemStateResolver : NSObject +- (instancetype)init NS_UNAVAILABLE; + - (instancetype)initWithHostVersion:(NSString *)hostVersion applicationVersionComparator:(id)applicationVersionComparator standardVersionComparator:(SUStandardVersionComparator *)standardVersionComparator; @end diff --git a/Sparkle/SUAppcastItem.h b/Sparkle/SUAppcastItem.h index 9e3af3cd..453c650c 100644 --- a/Sparkle/SUAppcastItem.h +++ b/Sparkle/SUAppcastItem.h @@ -65,6 +65,8 @@ SU_EXPORT @interface SUAppcastItem : NSObject // Returns the dictionary representing the appcast item; this might be useful later for extensions. @property (readonly, copy) NSDictionary *propertiesDictionary; +- (instancetype)init NS_UNAVAILABLE; + // Deprecated initializers - (nullable instancetype)initWithDictionary:(NSDictionary *)dict __deprecated_msg("Extended properties that depend on the system or application version are not supported when used with this deprecated initializer. Please adopt supported APIs instead or contact us to describe your use case."); - (nullable instancetype)initWithDictionary:(NSDictionary *)dict failureReason:(NSString * _Nullable __autoreleasing *_Nullable)error __deprecated_msg("Extended properties that depend on the system or application version are not supported when used with this deprecated initializer. Please adopt supported APIs instead or contact us to describe your use case.");