Protocols

The following protocols are available globally.

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

    This includes methods related to UI interactions

    See more

    Declaration

    Objective-C

    @protocol SPUStandardUserDriverDelegate <NSObject>

    Swift

    protocol SPUStandardUserDriverDelegate : NSObjectProtocol
  • Provides delegation methods to control the behavior of an SPUUpdater object.

    See more

    Declaration

    Objective-C

    @protocol SPUUpdaterDelegate <NSObject>

    Swift

    protocol SPUUpdaterDelegate : NSObjectProtocol
  • The API in Sparkle for controlling the user interaction.

    This protocol is used for implementing a user interface for the Sparkle updater. Sparkle’s internal drivers tell an object that implements this protocol what actions to take and show to the user.

    Every method in this protocol can be assumed to be called from the main thread.

    See more

    Declaration

    Objective-C

    @protocol SPUUserDriver <NSObject>

    Swift

    protocol SPUUserDriver : NSObjectProtocol
  • Deprecated

    Deprecated in Sparkle 2. See SPUUpdaterDelegate instead

    Undocumented

    See more

    Declaration

    Objective-C

    @protocol SUUpdaterDelegate <NSObject>

    Swift

    protocol SUUpdaterDelegate : NSObjectProtocol
  • Provides version comparison facilities for Sparkle.

    See more

    Declaration

    Objective-C

    @protocol SUVersionComparison

    Swift

    protocol SUVersionComparison
  • Applies special display formatting to version numbers of the bundle to update and the update before presenting them to the user.

    See more

    Declaration

    Objective-C

    @protocol SUVersionDisplay <NSObject>

    Swift

    protocol SUVersionDisplay : NSObjectProtocol