Add NS_UNAVAILABLE attributes to user driver classes

This commit is contained in:
Zorg committed 2021-04-30 18:03:22 -07:00
1 parent e179443799
commit 0eb5a706f8
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.
*/