Skip to content

Instantly share code, notes, and snippets.

@meyusufdemirci
Created April 28, 2022 11:08
Show Gist options
  • Save meyusufdemirci/992b2b443a0d672d643a5a583e9d93d2 to your computer and use it in GitHub Desktop.
Save meyusufdemirci/992b2b443a0d672d643a5a583e9d93d2 to your computer and use it in GitHub Desktop.
Realtime Localization Article
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