mirror of
https://github.com/RevenueCat/purchases-ios
synced 2026-11-09 22:35:56 +05:45
17 lines
405 B
Swift
17 lines
405 B
Swift
//
|
|
// WeatherViewModel.swift
|
|
// Magic Weather SwiftUI
|
|
//
|
|
// Created by Cody Kerns on 1/19/21.
|
|
//
|
|
|
|
import Foundation
|
|
|
|
/* Static shared model for WeatherView */
|
|
class WeatherViewModel: NSObject, ObservableObject {
|
|
static let shared = WeatherViewModel()
|
|
|
|
@Published var currentData: SampleWeatherData = .testCold
|
|
@Published var currentEnvironment: SampleWeatherData.Environment = .earth
|
|
}
|