Add universal Sparkle build.

This commit is contained in:
Damiano Galassi committed 2020-07-10 11:55:55 +02:00
1 parent ce4b084324
commit 43e18e5c19
121 files changed
+2835 -197

No files matched your search

+3 -7
View File
@@ -6,11 +6,7 @@
// Copyright 2006 Andy Matuschak. All rights reserved.
//
#if __has_feature(modules)
@import Foundation;
#else
#import <Foundation/Foundation.h>
#endif
#import <Sparkle/SUExport.h>
#import <Sparkle/SPUUserDriver.h>
@@ -134,9 +130,9 @@ SU_EXPORT @interface SPUUpdater : NSObject
If the updater's delegate implements -[SPUUpdaterDelegate feedURLStringForUpdater:], this will return that feed URL.
Otherwise if the feed URL has been set before, the feed URL returned will be retrieved from the host bundle's user defaults.
Otherwise the feed URL in the host bundle's Info.plist will be returned.
If no feed URL can be retrieved, this will raise an exception.
If no feed URL can be retrieved, returns nil.
This property must be called on the main thread.
This property must be called on the main thread; calls from background threads will return nil.
*/
@property (nonatomic, readonly) NSURL *feedURL;
@@ -149,7 +145,7 @@ SU_EXPORT @interface SPUUpdater : NSObject
Passing nil will remove any feed URL that has been set in the host bundle's user defaults.
This method must be called on the main thread.
This method must be called on the main thread; calls from background threads will have no effect.
*/
- (void)setFeedURL:(NSURL * _Nullable)feedURL;