Replies: 1 comment 2 replies
-
Adding this code silenced the warning:
Although I'm still not sure why the system thinks that a static let property with an enum type is not concurrently-safe. I could understand it if it was a class instance. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying out MacOS 15 Sequoia, Xcode 16 beta and Swift 6. I get a warning at the following code:
extension Categories: TableRecord { static let databaseTableName: String = "categories" static let databaseUUIDEncodingStrategy = DatabaseUUIDEncodingStrategy.uppercaseString
The warning is:
Any suggestions?
Beta Was this translation helpful? Give feedback.
All reactions