Skip to content

Commit 1394fc7

Browse files
committed
Adjust a comment
1 parent 7b72dcd commit 1394fc7

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Sources/Testing/Attachments/Images/Attachment+AttachableAsImage.swift

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,11 @@ extension Attachment {
106106
#endif
107107
@available(_uttypesAPI, *)
108108
extension Attachment where AttachableValue: AttachableWrapper, AttachableValue.Wrapped: AttachableAsImage {
109-
/// The image format to use when encoding the represented image.
109+
/// The image format to use when encoding the represented image, if specified.
110+
///
111+
/// @Metadata {
112+
/// @Available(Swift, introduced: 6.3)
113+
/// }
110114
@_disfavoredOverload public var imageFormat: AttachableImageFormat? {
111115
// FIXME: no way to express `where AttachableValue == _AttachableImageWrapper<???>` on a property (see rdar://47559973)
112116
(attachableValue as? _AttachableImageWrapper<AttachableValue.Wrapped>)?.imageFormat

0 commit comments

Comments
 (0)