|
4 | 4 |
|
5 | 5 | [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.
|
6 | 6 |
|
| 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 | + |
7 | 25 | ## Design decisions
|
8 | 26 |
|
9 | 27 | - 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 | 53 |
|
36 | 54 | 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**
|
37 | 55 |
|
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 |
| - |
55 | 56 | ## What is the Composable Architecture?
|
56 | 57 |
|
57 | 58 | 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()`
|
328 | 329 |  Right-click on the `tka` module and select `Run "Tests in 'kotlin-composable-architecture.tka'"`
|
329 | 330 | </details>
|
330 | 331 |
|
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 |
332 | 356 |
|
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. |
334 | 358 |
|
335 | 359 | <!-- ## Installation
|
336 | 360 |
|
|
0 commit comments