Skip to content

Commit bc74ac0

Browse files
authored
Add missing links to UIImage documentation. (#1223)
Add missing links to `UIImage` documentation in the comment blobs that cover `CGImage`, `NSImage`, etc. This got omitted during a merge from main. ### Checklist: - [x] Code and documentation should follow the style of the [Style Guide](https://github.com/apple/swift-testing/blob/main/Documentation/StyleGuide.md). - [x] If public symbols are renamed or modified, DocC references should be updated.
1 parent d2a238d commit bc74ac0

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

Sources/Overlays/_Testing_CoreGraphics/Attachments/AttachableAsCGImage.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ private import ImageIO
2727
/// - [`CIImage`](https://developer.apple.com/documentation/coreimage/ciimage)
2828
/// - [`NSImage`](https://developer.apple.com/documentation/appkit/nsimage)
2929
/// (macOS)
30+
/// - [`UIImage`](https://developer.apple.com/documentation/uikit/uiimage)
31+
/// (iOS, watchOS, tvOS, visionOS, and Mac Catalyst)
3032
///
3133
/// You do not generally need to add your own conformances to this protocol. If
3234
/// you have an image in another format that needs to be attached to a test,

Sources/Overlays/_Testing_CoreGraphics/Attachments/Attachment+AttachableAsCGImage.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ extension Attachment {
3434
/// - [`CIImage`](https://developer.apple.com/documentation/coreimage/ciimage)
3535
/// - [`NSImage`](https://developer.apple.com/documentation/appkit/nsimage)
3636
/// (macOS)
37+
/// - [`UIImage`](https://developer.apple.com/documentation/uikit/uiimage)
38+
/// (iOS, watchOS, tvOS, visionOS, and Mac Catalyst)
3739
///
3840
/// The testing library uses the image format specified by `imageFormat`. Pass
3941
/// `nil` to let the testing library decide which image format to use. If you
@@ -72,6 +74,8 @@ extension Attachment {
7274
/// - [`CIImage`](https://developer.apple.com/documentation/coreimage/ciimage)
7375
/// - [`NSImage`](https://developer.apple.com/documentation/appkit/nsimage)
7476
/// (macOS)
77+
/// - [`UIImage`](https://developer.apple.com/documentation/uikit/uiimage)
78+
/// (iOS, watchOS, tvOS, visionOS, and Mac Catalyst)
7579
///
7680
/// The testing library uses the image format specified by `imageFormat`. Pass
7781
/// `nil` to let the testing library decide which image format to use. If you

Sources/Overlays/_Testing_CoreGraphics/Attachments/_AttachableImageWrapper.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ import UniformTypeIdentifiers
5050
/// - [`CIImage`](https://developer.apple.com/documentation/coreimage/ciimage)
5151
/// - [`NSImage`](https://developer.apple.com/documentation/appkit/nsimage)
5252
/// (macOS)
53+
/// - [`UIImage`](https://developer.apple.com/documentation/uikit/uiimage)
54+
/// (iOS, watchOS, tvOS, visionOS, and Mac Catalyst)
5355
@_spi(Experimental)
5456
@available(_uttypesAPI, *)
5557
public struct _AttachableImageWrapper<Image>: Sendable where Image: AttachableAsCGImage {

0 commit comments

Comments
 (0)