// // SUUpdateSettingsWindowController.m // Sparkle // // Created by Mayur Pawashe on 7/25/15. // Copyright (c) 2015 Sparkle Project. All rights reserved. // #import "SUUpdateSettingsWindowController.h" #import @interface SUUpdateSettingsWindowController () @property (nonatomic) IBOutlet SPUStandardUpdaterController *updaterController; @end @implementation SUUpdateSettingsWindowController @synthesize updaterController = _updaterController; - (NSString *)windowNibName { return NSStringFromClass([self class]); } - (IBAction)checkForUpdates:(id __unused)sender { [self.updaterController checkForUpdates:self]; } // This would not be necessary if the updater controller was instantiated in the main menu nib - (BOOL)validateMenuItem:(NSMenuItem *)menuItem { return [self.updaterController validateMenuItem:menuItem]; } @end