SUUpdater

Deprecated

Deprecated in Sparkle 2. Use SPUStandardUpdaterController instead, or SPUUpdater if you need more control.

Objective-C


@interface SUUpdater : NSObject

Swift

class SUUpdater : NSObject

The legacy API in Sparkle for controlling the update mechanism.

This class is now deprecated and acts as a thin wrapper around SPUUpdater and SPUStandardUserDriver.

If you are migrating to Sparkle 2, use SPUStandardUpdaterController instead, or SPUUpdater if you need more control.

  • Deprecated

    Deprecated in Sparkle 2. Use SPUStandardUpdaterController instead, or SPUUpdater if you need more control.

    Undocumented

    Declaration

    Objective-C

    @property (nonatomic) IBOutlet id<SUUpdaterDelegate> delegate

    Swift

    @IBOutlet unowned(unsafe) var delegate: SUUpdaterDelegate! { get set }
  • Deprecated

    Deprecated in Sparkle 2. Use SPUStandardUpdaterController instead, or SPUUpdater if you need more control.

    Undocumented

    Declaration

    Objective-C

    + (SUUpdater *)sharedUpdater;

    Swift

    class func shared() -> SUUpdater!
  • Deprecated

    Deprecated in Sparkle 2. Use SPUStandardUpdaterController instead, or SPUUpdater if you need more control.

    Undocumented

    Declaration

    Objective-C

    + (SUUpdater *)updaterForBundle:(NSBundle *)bundle;
  • Deprecated

    Deprecated in Sparkle 2. Use SPUStandardUpdaterController instead, or SPUUpdater if you need more control.

    Undocumented

    Declaration

    Objective-C

    - (instancetype)initForBundle:(NSBundle *)bundle;

    Swift

    init!(for bundle: Bundle!)
  • Deprecated

    Deprecated in Sparkle 2. Use SPUStandardUpdaterController instead, or SPUUpdater if you need more control.

    Undocumented

    Declaration

    Objective-C

    - (void)checkForUpdates:(id)sender;

    Swift

    @IBAction func checkForUpdates(_ sender: Any!)
  • Deprecated

    Deprecated in Sparkle 2. Use SPUStandardUpdaterController instead, or SPUUpdater if you need more control.

    Undocumented

    Declaration

    Objective-C

    - (BOOL)validateMenuItem:(NSMenuItem *)menuItem;

    Swift

    func validate(_ menuItem: NSMenuItem!) -> Bool
  • Deprecated

    Deprecated in Sparkle 2. Use SPUStandardUpdaterController instead, or SPUUpdater if you need more control.

    Undocumented

    Declaration

    Objective-C

    - (void)checkForUpdatesInBackground;

    Swift

    func checkForUpdatesInBackground()
  • Deprecated

    Deprecated in Sparkle 2. Use SPUStandardUpdaterController instead, or SPUUpdater if you need more control.

    Undocumented

    Declaration

    Objective-C

    @property (nonatomic) BOOL automaticallyChecksForUpdates;

    Swift

    var automaticallyChecksForUpdates: Bool { get set }
  • Deprecated

    Deprecated in Sparkle 2. Use SPUStandardUpdaterController instead, or SPUUpdater if you need more control.

    Undocumented

    Declaration

    Objective-C

    @property (nonatomic) BOOL automaticallyDownloadsUpdates;

    Swift

    var automaticallyDownloadsUpdates: Bool { get set }
  • Deprecated

    Deprecated in Sparkle 2. Use SPUStandardUpdaterController instead, or SPUUpdater if you need more control.

    Undocumented

    Declaration

    Objective-C

    @property (nonatomic) NSTimeInterval updateCheckInterval;

    Swift

    var updateCheckInterval: TimeInterval { get set }
  • Deprecated

    Deprecated in Sparkle 2. Use SPUStandardUpdaterController instead, or SPUUpdater if you need more control.

    Undocumented

    Declaration

    Objective-C

    - (void)checkForUpdateInformation;

    Swift

    func checkForUpdateInformation()
  • Deprecated

    Deprecated in Sparkle 2. Use SPUStandardUpdaterController instead, or SPUUpdater if you need more control.

    Undocumented

    Declaration

    Objective-C

    @property (nonatomic, copy) NSURL *feedURL;

    Swift

    var feedURL: URL! { get set }
  • Deprecated

    Deprecated in Sparkle 2. Use SPUStandardUpdaterController instead, or SPUUpdater if you need more control.

    Undocumented

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSBundle *hostBundle;

    Swift

    var hostBundle: Bundle! { get }
  • Deprecated

    Deprecated in Sparkle 2. Use SPUStandardUpdaterController instead, or SPUUpdater if you need more control.

    Undocumented

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSBundle *sparkleBundle;

    Swift

    var sparkleBundle: Bundle! { get }
  • Deprecated

    Deprecated in Sparkle 2. Use SPUStandardUpdaterController instead, or SPUUpdater if you need more control.

    Undocumented

    Declaration

    Objective-C

    @property (nonatomic, copy) NSString *userAgentString;

    Swift

    var userAgentString: String! { get set }
  • Deprecated

    Deprecated in Sparkle 2. Use SPUStandardUpdaterController instead, or SPUUpdater if you need more control.

    Undocumented

    Declaration

    Objective-C

    @property (nonatomic, copy) NSDictionary<NSString *, NSString *> *httpHeaders;

    Swift

    var httpHeaders: [String : String]! { get set }
  • Deprecated

    Deprecated in Sparkle 2. Use SPUStandardUpdaterController instead, or SPUUpdater if you need more control.

    Undocumented

    Declaration

    Objective-C

    @property (nonatomic) BOOL sendsSystemProfile;

    Swift

    var sendsSystemProfile: Bool { get set }
  • Deprecated

    Deprecated in Sparkle 2. Use SPUStandardUpdaterController instead, or SPUUpdater if you need more control.

    Undocumented

    Declaration

    Objective-C

    @property (nonatomic, copy) NSString *decryptionPassword;

    Swift

    var decryptionPassword: String! { get set }
  • Deprecated

    Deprecated in Sparkle 2. Use SPUStandardUpdaterController instead, or SPUUpdater if you need more control.

    Undocumented

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly) NSDate *lastUpdateCheckDate;

    Swift

    var lastUpdateCheckDate: Date! { get }
  • Deprecated

    Deprecated in Sparkle 2. Use SPUStandardUpdaterController instead, or SPUUpdater if you need more control.

    Undocumented

    Declaration

    Objective-C

    - (void)resetUpdateCycle;

    Swift

    func resetUpdateCycle()
  • Deprecated

    Deprecated in Sparkle 2. Use SPUStandardUpdaterController instead, or SPUUpdater if you need more control.

    Undocumented

    Declaration

    Objective-C

    @property (nonatomic, readonly) BOOL updateInProgress;

    Swift

    var updateInProgress: Bool { get }