+// This IBAction is meant for a main menu item. Hook up any menu item to this action,

+// and Sparkle will check for updates and report back its findings verbosely.

+- (IBAction)checkForUpdates:sender;

+

+// This kicks off an update meant to be programmatically initiated. That is, it will display no UI unless it actually finds an update,

+// in which case it proceeds as usual. If the fully automated updating is turned on, however, this will invoke that behavior, and if an

+// update is found, it will be downloaded and prepped for installation.

+- (void)checkForUpdatesInBackground;

+

+// Date of last update check. Returns null if no check has been performed.

+- (NSDate*)lastUpdateCheckDate;

+

+// This begins a "probing" check for updates which will not actually offer to update to that version. The delegate methods, though,

+// (up to updater:didFindValidUpdate: and updaterDidNotFindUpdate:), are called, so you can use that information in your UI.

+- (void)checkForUpdateInformation;

+

+// Call this to appropriately schedule or cancel the update checking timer according to the preferences for time interval and automatic checks. This call does not change the date of the next check, but only the internal NSTimer.

+- (void)resetUpdateCycle;

+

+- (BOOL)updateInProgress;

+@end

+

+@interfaceNSObject (SUUpdaterDelegateInformalProtocol)

+// This method allows you to add extra parameters to the appcast URL, potentially based on whether or not Sparkle will also be sending along the system profile. This method should return an array of dictionaries with keys: "key", "value", "displayKey", "displayValue", the latter two being specifically for display to the user.

+Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

+

+The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

+

+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.