File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -103,6 +103,16 @@ Create constranint for subviews of root view.
103
103
The bind method return an array of ` Disposable ` .
104
104
The RxSwift style data binding can be listed in this method, without writting a ` disposed(by:) ` method.
105
105
106
+ ### Access lifecycle from view model directly
107
+
108
+ The following lifecycle signal can be accessed from view model directly.
109
+
110
+ - ` viewDidLoad: Observable<Void> `
111
+ - ` viewWillAppear: Observable<Void> `
112
+ - ` viewDidAppear: Observable<Void> `
113
+ - ` viewWillDisappear: Observable<Void> `
114
+ - ` viewDidDisappear: Observable<Void> `
115
+
106
116
### Exchange data among parent and child view models
107
117
108
118
In a standard MVVM-C architecture using RxFlow, view models exchange data via a flow class using the ` steps.accept() ` method.
You can’t perform that action at this time.
0 commit comments