Merge pull request #1843 from sparkle-project/nsunavailable

Add NS_UNAVAILABLE attributes to user driver classes
This commit is contained in:
Mayur Pawashe authored and GitHub committed 2021-05-01 17:26:15 -07:00
commit b140c05bad
2 files changed
+10

No files matched your search

+5
View File
@@ -34,6 +34,11 @@ SU_EXPORT @interface SPUStandardUserDriver : NSObject <SPUUserDriver>
*/
- (instancetype)initWithHostBundle:(NSBundle *)hostBundle delegate:(nullable id<SPUStandardUserDriverDelegate>)delegate;
/*!
Use initWithHostBundle:delegate: instead.
*/
- (instancetype)init NS_UNAVAILABLE;
@end
NS_ASSUME_NONNULL_END
+5
View File
@@ -29,6 +29,11 @@ SU_EXPORT @interface SUUpdatePermissionResponse : NSObject<NSSecureCoding>
*/
- (instancetype)initWithAutomaticUpdateChecks:(BOOL)automaticUpdateChecks sendSystemProfile:(BOOL)sendSystemProfile;
/*
Use -initWithAutomaticUpdateChecks:sendSystemProfile: instead.
*/
- (instancetype)init NS_UNAVAILABLE;
/*!
A read-only property indicating whether automatic update checks are allowed or not.
*/