Fix incorrect and inconsistent selectors and delegate methods.

This commit is contained in:
Leo Natan committed 2019-08-20 04:12:33 +03:00
1 parent a10a974609
commit 181f813b01
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -179,7 +179,7 @@
break;
case SUSkipThisVersionChoice:
if ([[updater delegate] respondsToSelector:@selector(userDidSkipThisVersion:)]) {
if ([[updater delegate] respondsToSelector:@selector(updater:userDidSkipThisVersion:)]) {
[[updater delegate] updater:self.updater userDidSkipThisVersion:self.updateItem];
}
[self didDismissAlertPermanently:YES forItem:item];
+1 -1
View File
@@ -146,7 +146,7 @@ SU_EXPORT extern NSString *const SUUpdaterAppcastNotificationKey;
\param updater The SUUpdater instance.
*/
- (void)userDidSkipThisVersion:(SUUpdater *)updater;
- (void)updater:(SUUpdater *)updater userDidSkipThisVersion:(SUAppcastItem *)item;
/*!
Called immediately before downloading the specified update.