Created
April 28, 2022 11:08
-
-
Save meyusufdemirci/992b2b443a0d672d643a5a583e9d93d2 to your computer and use it in GitHub Desktop.
Realtime Localization Article
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
class AppEnvironment: ObservableObject { | |
@Published private var localizationManagerWillChange: Void = () | |
let localizationManager: LocalizationManager = .init() | |
init() { | |
localizationManager.objectWillChange.assign(to: &$localizationManagerWillChange) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment