Frameworks/Sparkle.framework/Versions/A/Headers/SUStandardVersionComparator.h
branchadium-1.5.10.4
changeset 5985 5883c460b8cb
parent 5924 f0f2d246891c
--- a/Frameworks/Sparkle.framework/Versions/A/Headers/SUStandardVersionComparator.h	Sun Apr 23 20:58:56 2017 +0200
+++ b/Frameworks/Sparkle.framework/Versions/A/Headers/SUStandardVersionComparator.h	Sun Apr 23 21:05:16 2017 +0200
@@ -9,10 +9,16 @@
 #ifndef SUSTANDARDVERSIONCOMPARATOR_H
 #define SUSTANDARDVERSIONCOMPARATOR_H
 
+#if __has_feature(modules)
+@import Foundation;
+#else
 #import <Foundation/Foundation.h>
+#endif
 #import "SUExport.h"
 #import "SUVersionComparisonProtocol.h"
 
+NS_ASSUME_NONNULL_BEGIN
+
 /*!
     Sparkle's default version comparator.
 
@@ -23,7 +29,14 @@
 SU_EXPORT @interface SUStandardVersionComparator : NSObject <SUVersionComparison>
 
 /*!
+    Initializes a new instance of the standard version comparator.
+ */
+- (instancetype)init;
+
+/*!
     Returns a singleton instance of the comparator.
+ 
+    It is usually preferred to alloc/init new a comparator instead.
 */
 + (SUStandardVersionComparator *)defaultComparator;
 
@@ -35,4 +48,5 @@
 - (NSComparisonResult)compareVersion:(NSString *)versionA toVersion:(NSString *)versionB;
 @end
 
+NS_ASSUME_NONNULL_END
 #endif