// // HealthCellViewModels.swift // Lookfit // // Created by Sheldon on 2021/9/21. // Copyright © 2021 Sheldon. All rights reserved. // import UIKit class HealthCellViewModels: ViewModel { /// 健康类型 var type: HealthType = .sleep let value = BehaviorRelay(value: "0") let target = BehaviorRelay(value: "") let progress = BehaviorRelay(value: 0) init(type: HealthType) { super.init() self.type = type } }