Reverting back to string based version compare. Using customized comparator based ond Sparkle verison compare

This commit is contained in:
Michael Starke
2018-10-24 16:07:38 +02:00
parent 20ed81a5e7
commit 3cd8d07552
23 changed files with 495 additions and 470 deletions

View File

@@ -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