mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-23 07:59:27 +00:00
Reverting back to string based version compare. Using customized comparator based ond Sparkle verison compare
This commit is contained in:
@@ -10,18 +10,16 @@
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@class MPPluginVersion;
|
||||
|
||||
@interface MPPluginRepositoryItemVersionInfo : NSObject
|
||||
|
||||
@property (copy, readonly) MPPluginVersion *version;
|
||||
@property (copy, readonly) NSString *version;
|
||||
|
||||
+ (instancetype)versionInfoWithDict:(NSDictionary *)dict;
|
||||
|
||||
- (instancetype)initWithDict:(NSDictionary *)dict NS_DESIGNATED_INITIALIZER;
|
||||
- (instancetype)init NS_UNAVAILABLE;
|
||||
|
||||
- (BOOL)isCompatibleWithHostVersion:(MPPluginVersion *)hostVersion;
|
||||
- (BOOL)isCompatibleWithHostVersion:(NSString *)hostVersion;
|
||||
|
||||
@end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user