mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-25 04:47:55 +00:00
Add comments for the delegator property of SPUUpdater
This commit is contained in:
1 parent
a303859f10
commit
b676e3761a
1 file changed
+4
Vendored
+4
@@ -100,6 +100,10 @@ NSString *const SUUpdaterAppcastNotificationKey = @"SUUpdaterAppCastNotification
|
||||
_userDriver = userDriver;
|
||||
|
||||
_delegate = theDelegate;
|
||||
|
||||
// This property can be changed by an SUUpdater instance using us to setting our delegator to itself
|
||||
// This is why the updater types in the SUUpdaterDelegate are 'id' - because they can be SPUUpdater or SUUpdater
|
||||
// This is not a really a big deal because using the sender type is normally bad practice, and us passing it was a regretful decision in the first place.
|
||||
_delegator = self;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user