SPUStandardUserDriverDelegate

Objective-C

@protocol SPUStandardUserDriverDelegate <NSObject>

Swift

protocol SPUStandardUserDriverDelegate : NSObjectProtocol

A protocol for Sparkle’s standard user driver’s delegate

This includes methods related to UI interactions

  • Called before showing a modal alert window, to give the opportunity to hide attached windows that may get in the way.

    Declaration

    Objective-C

    - (void)standardUserDriverWillShowModalAlert;

    Swift

    optional func standardUserDriverWillShowModalAlert()
  • Called after showing a modal alert window, to give the opportunity to hide attached windows that may get in the way.

    Declaration

    Objective-C

    - (void)standardUserDriverDidShowModalAlert;

    Swift

    optional func standardUserDriverDidShowModalAlert()
  • Returns an object that formats version numbers for display to the user. If you don’t implement this method or return nil, the standard version formatter will be used.

    Declaration

    Objective-C

    - (id<SUVersionDisplay> _Nullable)standardUserDriverRequestsVersionDisplayer;