Skip to content

Conversation

@grynspan
Copy link
Contributor

@grynspan grynspan commented Nov 11, 2025

This PR adds prose documentation explaining how to create attachments and add them to tests.

Resolves #1143.

Checklist:

  • Code and documentation should follow the style of the Style Guide.
  • If public symbols are renamed or modified, DocC references should be updated.

This PR adds prose documentation explaining how to create attachments and add
them to tests.

Resolves #1143.
@grynspan grynspan added this to the Swift 6.3.0 milestone Nov 11, 2025
@grynspan grynspan self-assigned this Nov 11, 2025
@grynspan grynspan added documentation 📚 Improvements or additions to documentation enhancement New feature or request attachments/activities 🖇️ Work related to attachments and/or activities image-attachments 📸 Work related to image attachments labels Nov 11, 2025
///
/// - ``Trait/savingAttachments(if:)``
///
/// By default, the testing library saves your attachments as soon as you call
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file is all SPI.

@grynspan
Copy link
Contributor Author

Tracked internally as rdar://164478451.

Copy link
Contributor

@jerryjrchen jerryjrchen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!

Copy link
Contributor

@jgmcnutt jgmcnutt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some minor suggestions. Please let me know if you have any questions.

grynspan and others added 12 commits November 17, 2025 11:39
…e.swift

Co-authored-by: jgmcnutt <jgmcnutt@me.com>
…e.swift

Co-authored-by: jgmcnutt <jgmcnutt@me.com>
…e.swift

Co-authored-by: jgmcnutt <jgmcnutt@me.com>
Co-authored-by: jgmcnutt <jgmcnutt@me.com>
Co-authored-by: jgmcnutt <jgmcnutt@me.com>
Co-authored-by: jgmcnutt <jgmcnutt@me.com>
Co-authored-by: jgmcnutt <jgmcnutt@me.com>
Co-authored-by: jgmcnutt <jgmcnutt@me.com>
Co-authored-by: jgmcnutt <jgmcnutt@me.com>
Co-authored-by: jgmcnutt <jgmcnutt@me.com>
@grynspan grynspan requested a review from jgmcnutt November 17, 2025 17:54
Co-authored-by: jgmcnutt <jgmcnutt@me.com>
@grynspan grynspan merged commit d630017 into main Dec 2, 2025
27 checks passed
@grynspan grynspan deleted the jgrynspan/attachment-docs branch December 2, 2025 16:27
grynspan added a commit that referenced this pull request Dec 2, 2025
Following #1413, there's now a typo where we refer to a list of types "above" but the list has moved to another file. This PR fixes that error.
grynspan added a commit that referenced this pull request Dec 2, 2025
Following #1413, there's now a typo where we refer to a list of types "above" but the list has moved to another file. This PR fixes that error.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

attachments/activities 🖇️ Work related to attachments and/or activities documentation 📚 Improvements or additions to documentation enhancement New feature or request image-attachments 📸 Work related to image attachments

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Write prose documentation for attachments

5 participants