|
9 | 9 | #ifndef SUAPPCASTITEM_H
|
10 | 10 | #define SUAPPCASTITEM_H
|
11 | 11 |
|
| 12 | +#if __has_feature(modules) |
| 13 | +@import Foundation; |
| 14 | +#else |
12 | 15 | #import <Foundation/Foundation.h>
|
| 16 | +#endif |
13 | 17 | #import "SUExport.h"
|
| 18 | +@class SUSignatures; |
14 | 19 |
|
15 | 20 | SU_EXPORT @interface SUAppcastItem : NSObject
|
16 | 21 | @property (copy, readonly) NSString *title;
|
| 22 | +@property (copy, readonly) NSString *dateString; |
17 | 23 | @property (copy, readonly) NSDate *date;
|
18 | 24 | @property (copy, readonly) NSString *itemDescription;
|
19 | 25 | @property (strong, readonly) NSURL *releaseNotesURL;
|
20 |
| -@property (copy, readonly) NSString *DSASignature; |
| 26 | +@property (strong, readonly) SUSignatures *signatures; |
21 | 27 | @property (copy, readonly) NSString *minimumSystemVersion;
|
22 | 28 | @property (copy, readonly) NSString *maximumSystemVersion;
|
23 | 29 | @property (strong, readonly) NSURL *fileURL;
|
| 30 | +@property (nonatomic, readonly) uint64_t contentLength; |
24 | 31 | @property (copy, readonly) NSString *versionString;
|
| 32 | +@property (copy, readonly) NSString *osString; |
25 | 33 | @property (copy, readonly) NSString *displayVersionString;
|
26 | 34 | @property (copy, readonly) NSDictionary *deltaUpdates;
|
27 | 35 | @property (strong, readonly) NSURL *infoURL;
|
| 36 | +@property (copy, readonly) NSNumber* phasedRolloutInterval; |
28 | 37 |
|
29 | 38 | // Initializes with data from a dictionary provided by the RSS class.
|
30 | 39 | - (instancetype)initWithDictionary:(NSDictionary *)dict;
|
31 | 40 | - (instancetype)initWithDictionary:(NSDictionary *)dict failureReason:(NSString **)error;
|
32 | 41 |
|
33 | 42 | @property (getter=isDeltaUpdate, readonly) BOOL deltaUpdate;
|
34 | 43 | @property (getter=isCriticalUpdate, readonly) BOOL criticalUpdate;
|
| 44 | +@property (getter=isMacOsUpdate, readonly) BOOL macOsUpdate; |
35 | 45 | @property (getter=isInformationOnlyUpdate, readonly) BOOL informationOnlyUpdate;
|
36 | 46 |
|
37 | 47 | // Returns the dictionary provided in initWithDictionary; this might be useful later for extensions.
|
|
0 commit comments