Skip to content

Conversation

@ncooke3
Copy link
Member

@ncooke3 ncooke3 commented Oct 29, 2024

The static var does not compile in Swift 6 due to shared mutable state. To
work around, you can use a constant or a computed var. To standardize things,
I chose to go with a constant.

This should not affect how the types conform to NSSecureCoding as a constant
can be used to implement a protocol getter-only property. See
https://stackoverflow.com/a/38281420/9331576

#no-changelog

@ncooke3 ncooke3 merged commit f061a83 into main Oct 29, 2024
55 checks passed
@ncooke3 ncooke3 deleted the nc/auth-coding branch October 29, 2024 15:20
@firebase firebase locked and limited conversation to collaborators Nov 29, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

3 participants