-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Begin tweaking comments with LLM PT.2
- Loading branch information
Showing
4 changed files
with
26 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,14 @@ | ||
import Foundation | ||
/** | ||
* Single align type | ||
* - Remark: Use `.rawValue` if you want to get the string "topLeft" | ||
* - Remark: Could also just do: no type enum and: `Swift.print("\(String(describing: TestEnum.three))") // three | ||
* Enum defining single alignment types. | ||
* Use `.rawValue` to get the string representation of the enum case. | ||
* Alternatively, you can use a no-type enum and print the case name directly. | ||
*/ | ||
public enum AlignType: String { | ||
case left, right, top, bottom, centerHor, centerVer | ||
} | ||
case left // Aligns to the left | ||
case right // Aligns to the right | ||
case top // Aligns to the top | ||
case bottom // Aligns to the bottom | ||
case centerHor // Aligns to the horizontal center | ||
case centerVer // Aligns to the vertical center | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,4 +22,5 @@ extension SpatialTests { | |
XCTAssertTrue(equalsB) | ||
} | ||
} | ||
#endif | ||
#endif | ||
|