SwiftclassWeatherCore
SavedLocationsReader
class WeatherCore.SavedLocationsReader
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
Members 10
- deinit
deinit - field
let coherenceDataManager: WeatherCore.CoherenceDataManagerType+0x60 - field
let keyValueStoreProvider: WeatherCore.UbiquitousKeyValueStoreProviderType+0x10 - field
let localKeyValueStore: WeatherCore.KeyValueStoreType+0x88 - field
let locationDataModelFactory: WeatherCore.LocationDataModelFactoryType+0x38 - func
fetchSavedLocations(from: WeatherCore.KeyValueStoreType) -> [WeatherCore.LocationDataModel]? - func
fetchSavedLocations() -> [WeatherCore.LocationDataModel]? - func
fetchSavedLocationsAsync() async -> [WeatherCore.LocationDataModel]? - func
fetchSyncedData(from: WeatherCore.KeyValueStoreType, fallbackToLegacy: Bool) -> WeatherCore.FetchSyncedDataResult - init
WeatherCore.SavedLocationsReader.__allocating_init(keyValueStoreProvider: WeatherCore.UbiquitousKeyValueStoreProviderType, locationDataModelFactory: WeatherCore.LocationDataModelFactoryType, coherenceDataManager: WeatherCore.CoherenceDataManagerType, localKeyValueStore: WeatherCore.KeyValueStoreType) -> WeatherCore.SavedLocationsReader
Header
class SavedLocationsReader { let keyValueStoreProvider: any WeatherCore.UbiquitousKeyValueStoreProviderType let locationDataModelFactory: any WeatherCore.LocationDataModelFactoryType let coherenceDataManager: any WeatherCore.CoherenceDataManagerType let localKeyValueStore: any WeatherCore.KeyValueStoreType init(keyValueStoreProvider: any WeatherCore.UbiquitousKeyValueStoreProviderType, locationDataModelFactory: any WeatherCore.LocationDataModelFactoryType, coherenceDataManager: any WeatherCore.CoherenceDataManagerType, localKeyValueStore: any WeatherCore.KeyValueStoreType) final func fetchSavedLocations(from: any WeatherCore.KeyValueStoreType) -> [WeatherCore.LocationDataModel]? final func fetchSavedLocations() -> [WeatherCore.LocationDataModel]? final func fetchSavedLocationsAsync() async -> [WeatherCore.LocationDataModel]? final func fetchSyncedData(from: any WeatherCore.KeyValueStoreType, fallbackToLegacy: Swift.Bool) -> WeatherCore.FetchSyncedDataResult deinit }