From 04d3c13043966f0005d4401e93ac09604de04de7 Mon Sep 17 00:00:00 2001 From: Zorg Date: Sun, 5 Jun 2022 16:35:04 -0700 Subject: [PATCH] Make displayVersionString non-null and update fallback documentation (#2139) --- Sparkle/SUAppcastItem.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Sparkle/SUAppcastItem.h b/Sparkle/SUAppcastItem.h index f816ac35..3aa1beba 100644 --- a/Sparkle/SUAppcastItem.h +++ b/Sparkle/SUAppcastItem.h @@ -65,8 +65,10 @@ SU_EXPORT @interface SUAppcastItem : NSObject This corresponds to the application update's @c CFBundleShortVersionString This is extracted from the @c element, or the @c sparkle:shortVersionString attribute from the @c 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.