Skip to content

Commit b375999

Browse files
committed
Move documentation to /ExtractCaseValueMacros
1 parent da3ff4f commit b375999

File tree

9 files changed

+1
-1
lines changed

9 files changed

+1
-1
lines changed

Sources/Documentation.docc/Documentation.md renamed to Sources/ExtractCaseValueMacros/Documentation.docc/Documentation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ The `ExtractCaseValue` package provides a macro to expose assiocated values from
1010

1111
@Row {
1212
@Column {
13-
To extract a simple value annotate an enum with the `ExtractCaseValue` macro and provide the expected type as a generic along with a name for the comuted property. This will use the `firstMatchingType` as a default to use the first associated value in a case that matches the expected type (in this case `String`).
13+
To extract a simple value annotate an enum with the `ExtractCaseValue` macro and provide the expected type as a generic along with a name for the comuted property. This will use the ``CaseExtractionKind/firstMatchingType`` as a default to use the first associated value in a case that matches the expected type (in this case `String`).
1414
}
1515
@Column {
1616
![Screenshot of Xcode showing the marco expansion on a Path enum with a String as return type](sample-one)

Sources/Documentation.docc/Resources/fix-it@2x.png renamed to Sources/ExtractCaseValueMacros/Documentation.docc/Resources/fix-it@2x.png

File renamed without changes.

Sources/Documentation.docc/Resources/fix-it~dark@2x.png renamed to Sources/ExtractCaseValueMacros/Documentation.docc/Resources/fix-it~dark@2x.png

File renamed without changes.

Sources/Documentation.docc/Resources/sample-one@2x.png renamed to Sources/ExtractCaseValueMacros/Documentation.docc/Resources/sample-one@2x.png

File renamed without changes.

Sources/Documentation.docc/Resources/sample-one~dark@2x.png renamed to Sources/ExtractCaseValueMacros/Documentation.docc/Resources/sample-one~dark@2x.png

File renamed without changes.

Sources/Documentation.docc/Resources/sample-three@2x.png renamed to Sources/ExtractCaseValueMacros/Documentation.docc/Resources/sample-three@2x.png

File renamed without changes.

Sources/Documentation.docc/Resources/sample-three~dark@2x.png renamed to Sources/ExtractCaseValueMacros/Documentation.docc/Resources/sample-three~dark@2x.png

File renamed without changes.

Sources/Documentation.docc/Resources/sample-two@2x.png renamed to Sources/ExtractCaseValueMacros/Documentation.docc/Resources/sample-two@2x.png

File renamed without changes.

Sources/Documentation.docc/Resources/sample-two~dark@2x.png renamed to Sources/ExtractCaseValueMacros/Documentation.docc/Resources/sample-two~dark@2x.png

File renamed without changes.

0 commit comments

Comments
 (0)