Improve API header docs (#1918)

* Don't expose SPUDownloadData initializer publicly

* Make SUAppcast -init unavailable

* Fix documented default user agent string

* Improve header documentation for SUAppcast(Item) and comparators

* Update more API documentation headers

Also allow returning nil in -allowedSystemProfileKeysForUpdater:

* Clarify documentation on -allowedSystemProfileKeysForUpdater:

* Rename willIdleScheduling -> notSchedule for delegate method

* Make minor correctness fix for reading info URL
This commit is contained in:
Mayur Pawashe authored and GitHub committed 2021-08-21 11:24:23 -07:00
1 parent 306ea26df8
commit c6f1cd4e3c
18 files changed
+556 -176

No files matched your search

+1 -1
View File
@@ -71,7 +71,7 @@
exit(EXIT_SUCCESS);
}
- (void)updaterWillIdleSchedulingUpdates:(SPUUpdater *)__unused updater __attribute__((noreturn))
- (void)updaterWillNotScheduleUpdateCheck:(SPUUpdater *)__unused updater __attribute__((noreturn))
{
if (self.verbose) {
fprintf(stderr, "Automatic update checks are disabled. Exiting.\n");