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.

  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic) IBOutlet id<SUUpdaterDelegate> delegate

    Swift

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

    Declaration

    Objective-C

    + (SUUpdater *)sharedUpdater;

    Swift

    class func shared() -> SUUpdater!
  • Undocumented

    Declaration

    Objective-C

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

    Declaration

    Objective-C

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

    Swift

    init!(for bundle: Bundle!)
  • Undocumented

    Declaration

    Objective-C

    - (void)checkForUpdates:(id)sender;

    Swift

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

    Declaration

    Objective-C

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

    Swift

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

    Declaration

    Objective-C

    - (void)checkForUpdatesInBackground;

    Swift

    func checkForUpdatesInBackground()
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic) BOOL automaticallyChecksForUpdates;

    Swift

    var automaticallyChecksForUpdates: Bool { get set }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic) BOOL automaticallyDownloadsUpdates;

    Swift

    var automaticallyDownloadsUpdates: Bool { get set }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic) NSTimeInterval updateCheckInterval;

    Swift

    var updateCheckInterval: TimeInterval { get set }
  • Undocumented

    Declaration

    Objective-C

    - (void)checkForUpdateInformation;

    Swift

    func checkForUpdateInformation()
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, copy) NSURL *feedURL;

    Swift

    var feedURL: URL! { get set }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSBundle *hostBundle;

    Swift

    var hostBundle: Bundle! { get }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSBundle *sparkleBundle;

    Swift

    var sparkleBundle: Bundle! { get }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, copy) NSString *userAgentString;

    Swift

    var userAgentString: String! { get set }
  • Undocumented

    Declaration

    Objective-C

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

    Swift

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

    Declaration

    Objective-C

    @property (nonatomic) BOOL sendsSystemProfile;

    Swift

    var sendsSystemProfile: Bool { get set }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, copy) NSString *decryptionPassword;

    Swift

    var decryptionPassword: String! { get set }
  • Undocumented

    Declaration

    Objective-C

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

    Swift

    var lastUpdateCheckDate: Date! { get }
  • Undocumented

    Declaration

    Objective-C

    - (void)resetUpdateCycle;

    Swift

    func resetUpdateCycle()
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, readonly) BOOL updateInProgress;

    Swift

    var updateInProgress: Bool { get }