Skip to content

Commit e5e46fd

Browse files
committed
Add constructor in DataLifeViewModel
1 parent 54db8b1 commit e5e46fd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Sources/DataLife/DataLifeViewModel.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ import Foundation
99

1010
open class DataLifeViewModel: ObserverProtocol {
1111
public var id: Int = 0
12+
13+
public init() {}
1214

1315
public func onValueChanged(_ value: Any?) {
1416
//empty

0 commit comments

Comments
 (0)