mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-24 04:38:16 +00:00
Update documentation for -bestValidUpdateInAppcast
This commit is contained in:
1 parent
f1be9f72d5
commit
c882da7bc7
1 file changed
+5
Vendored
+5
@@ -167,6 +167,11 @@ typedef NS_ENUM(NSInteger, SPUUpdateCheck)
|
||||
implement this to use your own logic for finding a valid update, if any,
|
||||
in the given appcast.
|
||||
|
||||
Do not base your logic by filtering out items with a minimum or maximum OS or application system version,
|
||||
because Sparkle already has logic for determining whether or not those items should be filtered out.
|
||||
|
||||
This method may be called multiple times for different selections and filters. This method should be efficient.
|
||||
|
||||
\param appcast The appcast that was downloaded from the remote server.
|
||||
\param updater The updater instance.
|
||||
\return The best valid appcast item, or nil if you don't want to be delegated this task.
|
||||
|
||||
Reference in new issue
Block a user