SPUStandardUserDriver
Objective-C
@interface SPUStandardUserDriver : NSObject <SPUUserDriver>
Swift
@MainActor class SPUStandardUserDriver : NSObject, SPUUserDriver
Sparkle’s standard built-in user driver for updater interactions
-
Initializes a Sparkle’s standard user driver for user update interactions
Declaration
Objective-C
- (nonnull instancetype) initWithHostBundle:(nonnull NSBundle *)hostBundle delegate:(nullable id<SPUStandardUserDriverDelegate>)delegate;Swift
init(hostBundle: Bundle, delegate: (any SPUStandardUserDriverDelegate)?)Parameters
hostBundleThe target bundle of the host that is being updated.
delegateThe optional delegate to this user driver. Note the standard user driver weakly references the delegate, so you are responsible for keeping it alive.
-
Unavailable
Use initWithHostBundle:delegate: instead.
Declaration
Objective-C
- (nonnull instancetype)init;