SwiftclassWeatherCore

class WeatherCore.SavedLocationsReader

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

Members 10

  1. deinitdeinit
  2. fieldlet coherenceDataManager: WeatherCore.CoherenceDataManagerType+0x60
  3. fieldlet keyValueStoreProvider: WeatherCore.UbiquitousKeyValueStoreProviderType+0x10
  4. fieldlet localKeyValueStore: WeatherCore.KeyValueStoreType+0x88
  5. fieldlet locationDataModelFactory: WeatherCore.LocationDataModelFactoryType+0x38
  6. funcfetchSavedLocations(from: WeatherCore.KeyValueStoreType) -> [WeatherCore.LocationDataModel]?
  7. funcfetchSavedLocations() -> [WeatherCore.LocationDataModel]?
  8. funcfetchSavedLocationsAsync() async -> [WeatherCore.LocationDataModel]?
  9. funcfetchSyncedData(from: WeatherCore.KeyValueStoreType, fallbackToLegacy: Bool) -> WeatherCore.FetchSyncedDataResult
  10. initWeatherCore.SavedLocationsReader.__allocating_init(keyValueStoreProvider: WeatherCore.UbiquitousKeyValueStoreProviderType, locationDataModelFactory: WeatherCore.LocationDataModelFactoryType, coherenceDataManager: WeatherCore.CoherenceDataManagerType, localKeyValueStore: WeatherCore.KeyValueStoreType) -> WeatherCore.SavedLocationsReader
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
}