You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
543 B
31 lines
543 B
// |
|
// viewModel.swift |
|
// FireBoltt |
|
// |
|
// 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 |
|
} |
|
|
|
} |
|
|
|
|