diff --git a/README.md b/README.md index f9c68c6..b082de8 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,7 @@

+ @@ -86,6 +87,22 @@ func navigate(to step: Step) -> FlowContributors { } ``` +Within RxViewController, the following standard methods are provided for building UI and binding data. + +- `open func subviews() -> [UIView]` + +The subview method return an array of some views. +These views will be added to the root view of the view controller orderly. + +- `open func createConstraints()` + +Create constranint for subviews of root view. + +- `open func bind() -> [Disposable]` + +The bind method return an array of `Disposable`. +The RxSwift style data binding can be listed in this method, without writting a `disposed(by:)` method. + ### Exchange data among parent and child view models In a standard MVVM-C architecture using RxFlow, view models exchange data via a flow class using the `steps.accept()` method.