File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change 33</p >
44
55<p align =" center " >
6+ <a href =" https://github.com/RxSwiftCommunity/RxController/actions " ><img src =" https://github.com/RxSwiftCommunity/RxController/workflows/build_check/badge.svg?branch=master " ></a >
67<a href =" https://cocoapods.org/pods/RxController " ><img src =" https://img.shields.io/cocoapods/v/RxController.svg?style=flat " ></a >
78<a href =" https://cocoapods.org/pods/RxController " ><img src =" https://img.shields.io/cocoapods/l/RxController.svg?style=flat " ></a >
89<a href =" https://cocoapods.org/pods/RxController " ><img src =" https://img.shields.io/cocoapods/p/RxController.svg?style=flat " ></a >
@@ -86,6 +87,22 @@ func navigate(to step: Step) -> FlowContributors {
8687}
8788```
8889
90+ Within RxViewController, the following standard methods are provided for building UI and binding data.
91+
92+ - ` open func subviews() -> [UIView] `
93+
94+ The subview method return an array of some views.
95+ These views will be added to the root view of the view controller orderly.
96+
97+ - ` open func createConstraints() `
98+
99+ Create constranint for subviews of root view.
100+
101+ - ` open func bind() -> [Disposable] `
102+
103+ The bind method return an array of ` Disposable ` .
104+ The RxSwift style data binding can be listed in this method, without writting a ` disposed(by:) ` method.
105+
89106### Exchange data among parent and child view models
90107
91108In 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