-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2336 from CruGlobal/develop
Merge develop into master
- Loading branch information
Showing
22 changed files
with
147 additions
and
85 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 +1 @@ | ||
3.3.5 | ||
3.3.6 |
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
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
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
35 changes: 35 additions & 0 deletions
35
...geSettings/DependencyContainer/PersistUserToolLanguageSettingsDataLayerDependencies.swift
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 |
---|---|---|
@@ -0,0 +1,35 @@ | ||
// | ||
// PersistUserToolLanguageSettingsDataLayerDependencies.swift | ||
// godtools | ||
// | ||
// Created by Levi Eggert on 11/7/24. | ||
// Copyright © 2024 Cru. All rights reserved. | ||
// | ||
|
||
import Foundation | ||
|
||
class PersistUserToolLanguageSettingsDataLayerDependencies { | ||
|
||
private let coreDataLayer: AppDataLayerDependencies | ||
|
||
init(coreDataLayer: AppDataLayerDependencies) { | ||
|
||
self.coreDataLayer = coreDataLayer | ||
} | ||
|
||
// MARK: - Data Layer Classes | ||
|
||
func getUserToolSettingsRepository() -> UserToolSettingsRepository { | ||
return UserToolSettingsRepository( | ||
cache: RealmUserToolSettingsCache(realmDatabase: coreDataLayer.getSharedRealmDatabase()) | ||
) | ||
} | ||
|
||
// MARK: - Domain Interface | ||
|
||
func getPersistUserToolLanguageSettingsRepositoryInterface() -> PersistUserToolLanguageSettingsRepositoryInterface { | ||
return PersistUserToolLanguageSettingsRepository( | ||
userToolSettingsRepository: getUserToolSettingsRepository() | ||
) | ||
} | ||
} |
21 changes: 21 additions & 0 deletions
21
...ToolLanguageSettings/DependencyContainer/PersistUserToolLanguageSettingsDiContainer.swift
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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
// | ||
// PersistUserToolLanguageSettingsDiContainer.swift | ||
// godtools | ||
// | ||
// Created by Levi Eggert on 11/7/24. | ||
// Copyright © 2024 Cru. All rights reserved. | ||
// | ||
|
||
import Foundation | ||
|
||
class PersistUserToolLanguageSettingsDiContainer { | ||
|
||
let dataLayer: PersistUserToolLanguageSettingsDataLayerDependencies | ||
let domainLayer: PersistUserToolLanguageSettingsDomainLayerDependencies | ||
|
||
init(coreDataLayer: AppDataLayerDependencies) { | ||
|
||
dataLayer = PersistUserToolLanguageSettingsDataLayerDependencies(coreDataLayer: coreDataLayer) | ||
domainLayer = PersistUserToolLanguageSettingsDomainLayerDependencies(dataLayer: dataLayer) | ||
} | ||
} |
25 changes: 25 additions & 0 deletions
25
...Settings/DependencyContainer/PersistUserToolLanguageSettingsDomainLayerDependencies.swift
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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
// | ||
// PersistUserToolLanguageSettingsDomainLayerDependencies.swift | ||
// godtools | ||
// | ||
// Created by Levi Eggert on 11/7/24. | ||
// Copyright © 2024 Cru. All rights reserved. | ||
// | ||
|
||
import Foundation | ||
|
||
class PersistUserToolLanguageSettingsDomainLayerDependencies { | ||
|
||
private let dataLayer: PersistUserToolLanguageSettingsDataLayerDependencies | ||
|
||
init(dataLayer: PersistUserToolLanguageSettingsDataLayerDependencies) { | ||
|
||
self.dataLayer = dataLayer | ||
} | ||
|
||
func getPersistUserToolLanguageSettingsUseCase() -> PersistUserToolLanguageSettingsUseCase { | ||
return PersistUserToolLanguageSettingsUseCase( | ||
persistUserToolLanguageSettingsRepositoryInterface: dataLayer.getPersistUserToolLanguageSettingsRepositoryInterface() | ||
) | ||
} | ||
} |
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
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
Oops, something went wrong.