File tree Expand file tree Collapse file tree 3 files changed +8
-0
lines changed
Sources/Overlays/_Testing_CoreGraphics/Attachments Expand file tree Collapse file tree 3 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,8 @@ private import ImageIO
2424/// be attached to a test:
2525///
2626/// - [`CGImage`](https://developer.apple.com/documentation/coregraphics/cgimage)
27+ /// - [`NSImage`](https://developer.apple.com/documentation/appkit/nsimage)
28+ /// (macOS)
2729///
2830/// You do not generally need to add your own conformances to this protocol. If
2931/// you have an image in another format that needs to be attached to a test,
Original file line number Diff line number Diff line change @@ -71,6 +71,8 @@ extension Attachment {
7171 /// ``AttachableAsCGImage`` protocol and can be attached to a test:
7272 ///
7373 /// - [`CGImage`](https://developer.apple.com/documentation/coregraphics/cgimage)
74+ /// - [`NSImage`](https://developer.apple.com/documentation/appkit/nsimage)
75+ /// (macOS)
7476 @_spi ( Experimental)
7577 @available ( _uttypesAPI, * )
7678 public init < T> (
@@ -103,6 +105,8 @@ extension Attachment {
103105 /// ``AttachableAsCGImage`` protocol and can be attached to a test:
104106 ///
105107 /// - [`CGImage`](https://developer.apple.com/documentation/coregraphics/cgimage)
108+ /// - [`NSImage`](https://developer.apple.com/documentation/appkit/nsimage)
109+ /// (macOS)
106110 @_spi ( Experimental)
107111 public init < T> (
108112 _ attachableValue: T ,
Original file line number Diff line number Diff line change @@ -47,6 +47,8 @@ import UniformTypeIdentifiers
4747/// to the ``AttachableAsCGImage`` protocol and can be attached to a test:
4848///
4949/// - [`CGImage`](https://developer.apple.com/documentation/coregraphics/cgimage)
50+ /// - [`NSImage`](https://developer.apple.com/documentation/appkit/nsimage)
51+ /// (macOS)
5052@_spi ( Experimental)
5153public struct _AttachableImageWrapper < Image> : Sendable where Image: AttachableAsCGImage {
5254 /// The underlying image.
You can’t perform that action at this time.
0 commit comments