Skip to content

Commit 32e0c5d

Browse files
authored
Update README.md
1 parent b5d13c1 commit 32e0c5d

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

README.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
# search-book-mvvm-rxswift
1+
# Search book MVI RxSwift
2+
23
:cyclone: Learning :zap: Search book MVVM / MVI + RxSwift :cherry_blossom: Just combine, filter, transform Stream...
34

45
### Port [search-book-flutter-BLoC-pattern-RxDart](https://github.com/hoc081098/search-book-flutter-BLoC-pattern-RxDart.git) to Swift + RxSwift + MVVM version
@@ -7,3 +8,13 @@
78
| ------------- | ------------- |
89
| <img src="https://github.com/hoc081098/hoc081098.github.io/blob/master/demo1.gif?raw=true" height="480"> | <img src="https://github.com/hoc081098/hoc081098.github.io/blob/master/demo2.gif?raw=true" height="480"> |
910

11+
### Contributors
12+
13+
[Petrus Nguyễn Thái Học](https://github.com/hoc081098)
14+
15+
### Summary
16+
17+
This app uses the Model-View-Intent architecture and uses RxSwift to implement the reactive characteristic of the architecture
18+
19+
The MVI architecture embraces reactive and functional programming. The two main components of this architecture, the _View_ and the _ViewModel_ can be seen as functions, taking an input and emiting outputs to each other. The _View_ takes input from the _ViewModel_ and emit back _intents_. The _ViewModel_ takes input from the _View_ and emit back _view states_. This means the _View_ has only one entry point to forward data to the _ViewModel_ and vice-versa, the _ViewModel_ only has one way to pass information to the _View_.
20+
This is reflected in their API. For instance, The _View_ has only two exposed methods:

0 commit comments

Comments
 (0)