Files
Sparkle/TestApplication/SUUpdateSettingsWindowController.m
T
Zorg 15b4d1adf3 Add a "Updater NIB" object for standard sparkle UI
I may consider  extending SUUpdater instead of another controller..
2016-02-28 20:18:06 -05:00

33 lines
651 B
Objective-C

//
// SUUpdateSettingsWindowController.m
// Sparkle
//
// Created by Mayur Pawashe on 7/25/15.
// Copyright (c) 2015 Sparkle Project. All rights reserved.
//
#import "SUUpdateSettingsWindowController.h"
#import <Sparkle/Sparkle.h>
@interface SUUpdateSettingsWindowController ()
@property (nonatomic) IBOutlet SUUpdaterController *updaterController;
@end
@implementation SUUpdateSettingsWindowController
@synthesize updaterController = _updaterController;
- (NSString *)windowNibName
{
return NSStringFromClass([self class]);
}
- (IBAction)checkForUpdates:(id __unused)sender
{
[self.updaterController checkForUpdates:nil];
}
@end