Skip to content

Commit 0bfd308

Browse files
authored
Merge pull request #4 from trading-point/update-docs
Update docs
2 parents fe1f7c6 + 23bcbcb commit 0bfd308

File tree

1 file changed

+43
-19
lines changed

1 file changed

+43
-19
lines changed

README.md

+43-19
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,24 @@
44

55
[Point-Free's](https://github.com/pointfreeco) [The Composable Architecture](https://github.com/pointfreeco/swift-composable-architecture) is a Swift library so this "fork" has ported the core concepts in Kotlin in order to help share domain logic amongst Android/iOS apps.
66

7+
- [A Kotlin port of The Composable Architecture (aka **TKA**)](#a-kotlin-port-of-the-composable-architecture-aka-tka)
8+
- [Design decisions](#design-decisions)
9+
- [TODO](#todo)
10+
- [Future work](#future-work)
11+
- [The Composable Architecture](#the-composable-architecture)
12+
- [What is the Composable Architecture?](#what-is-the-composable-architecture)
13+
- [Learn More](#learn-more)
14+
- [Examples](#examples)
15+
- [Basic Usage](#basic-usage)
16+
- [Testing](#testing)
17+
- [Debugging](#debugging)
18+
- [FAQ](#faq)
19+
- [Installation](#installation)
20+
- [Requirements](#requirements)
21+
- [Help](#help)
22+
- [Other libraries](#other-libraries)
23+
- [License](#license)
24+
725
## Design decisions
826

927
- As with every Kotlin library that respect itself, the name needs to be paraphrased using the **K** and thus, **The Komposable Architecture** (aka **TKA**) was born.
@@ -35,23 +53,6 @@
3553

3654
The Composable Architecture is a library for building applications in a consistent and understandable way, with composition, testing, and ergonomics in mind. It can be used in SwiftUI, UIKit, and more, and on any Apple platform (iOS, macOS, tvOS, and watchOS) **and now on any JVM platform as well**
3755

38-
- [A Kotlin port of The Composable Architecture (aka **TKA**)](#a-kotlin-port-of-the-composable-architecture-aka-tka)
39-
- [Design decisions](#design-decisions)
40-
- [TODO](#todo)
41-
- [Future work](#future-work)
42-
- [The Composable Architecture](#the-composable-architecture)
43-
- [What is the Composable Architecture?](#what-is-the-composable-architecture)
44-
- [Learn More](#learn-more)
45-
- [Examples](#examples)
46-
- [Basic Usage](#basic-usage)
47-
- [Testing](#testing)
48-
- [Debugging](#debugging)
49-
- [FAQ](#faq)
50-
- [Requirements](#requirements)
51-
- [Help](#help)
52-
- [Other libraries](#other-libraries)
53-
- [License](#license)
54-
5556
## What is the Composable Architecture?
5657

5758
This library provides a few core tools that can be used to build applications of varying purpose and complexity. It provides compelling stories that you can follow to solve many problems you encounter day-to-day when building applications, such as:
@@ -328,9 +329,32 @@ No debugging tools have been ported yet... apart from a simple `reducer.debug()`
328329
 Right-click on the `tka` module and select `Run "Tests in 'kotlin-composable-architecture.tka'"`
329330
</details>
330331

331-
## Requirements
332+
## Installation
333+
334+
The library is available on Jitpack.
335+
336+
First, you need to add Jitpack in your root `build.gradle` at the end of repositories:
337+
338+
```
339+
allprojects {
340+
repositories {
341+
...
342+
maven { url 'https://jitpack.io' }
343+
}
344+
}
345+
```
346+
347+
Then, add the project dependency:
348+
349+
```
350+
dependencies {
351+
implementation 'com.xm:kotlin-composable-architecture:0.0.18'
352+
}
353+
```
354+
355+
### Requirements
332356

333-
This port of The Composable Architecture uses the RxJava 3 framework.
357+
This port of The Composable Architecture uses the [RxJava 3](https://github.com/ReactiveX/RxJava) framework.
334358

335359
<!-- ## Installation
336360

0 commit comments

Comments
 (0)