Make displayVersionString non-null and update fallback documentation (#2139)

This commit is contained in:
Zorg authored and GitHub committed 2022-06-05 16:35:04 -07:00
1 parent a33bae7bad
commit 04d3c13043
1 file changed
+3 -1
+3 -1
View File
@@ -65,8 +65,10 @@ SU_EXPORT @interface SUAppcastItem : NSObject<NSSecureCoding>
This corresponds to the application update's @c CFBundleShortVersionString
This is extracted from the @c <sparkle:shortVersionString> element, or the @c sparkle:shortVersionString attribute from the @c <enclosure> element.
If no short version string is available, this falls back to the update's `versionString`.
*/
@property (copy, readonly, nullable) NSString *displayVersionString;
@property (copy, readonly) NSString *displayVersionString;
/**
The file URL to the update item if provided.