// // viewModel.swift // Lookfit // // Created by lemo. on 2020/3/7. // Copyright © 2020 Sheldon. All rights reserved. // import Foundation import RxSwift import RxCocoa protocol ViewModelType { associatedtype Input associatedtype Output func transform(input: Input) -> Output } class ViewModel: NSObject { deinit { logDebugs("\(type(of: self)): Deinited") logResourcesCountss() #if DEBUG logDebugs("RxSwift resources count: \(RxSwift.Resources.total)") #endif } }