SPUStandardUserDriver

Objective-C

@interface SPUStandardUserDriver : NSObject <SPUUserDriver>

Swift

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: SPUStandardUserDriverDelegate?)

    Parameters

    hostBundle

    The target bundle of the host that is being updated.

    delegate

    The optional delegate to this user driver.

  • Unavailable

    Use initWithHostBundle:delegate: instead.

    Declaration

    Objective-C

    - (nonnull instancetype)init;