File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Sources/Testing/Attachments/Images Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -106,7 +106,11 @@ extension Attachment {
106
106
#endif
107
107
@available ( _uttypesAPI, * )
108
108
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
+ /// }
110
114
@_disfavoredOverload public var imageFormat : AttachableImageFormat ? {
111
115
// FIXME: no way to express `where AttachableValue == _AttachableImageWrapper<???>` on a property (see rdar://47559973)
112
116
( attachableValue as? _AttachableImageWrapper < AttachableValue . Wrapped > ) ? . imageFormat
You can’t perform that action at this time.
0 commit comments