@@ -26,26 +26,27 @@ This library solves both of these limitations 😄.
26
26
The latest version of the library uses Kotlin version ` 2.1.20 ` .
27
27
Compatibility versions for older and/or preview Kotlin versions are also available:
28
28
29
- | Version | Version suffix | Kotlin | KSP | Coroutines |
30
- | ----------------| ----------------------| :----------:| :----------:| :----------:|
31
- | ** _ latest_ ** | ** _ no suffix_ ** | ** 2.1.20** | ** 1.0.31** | ** 1.10.1** |
32
- | 1.0.0-ALPHA-40 | _ no suffix_ | 2.1.10 | 1.0.31 | 1.10.1 |
33
- | 1.0.0-ALPHA-38 | _ no suffix_ | 2.1.0 | 1.0.29 | 1.9.0 |
34
- | 1.0.0-ALPHA-37 | _ no suffix_ | 2.0.21 | 1.0.25 | 1.9.0 |
35
- | 1.0.0-ALPHA-36 | _ no suffix_ | 2.0.20 | 1.0.25 | 1.9.0 |
36
- | 1.0.0-ALPHA-35 | _ no suffix_ | 2.0.20 | 1.0.24 | 1.8.1 |
37
- | 1.0.0-ALPHA-34 | _ no suffix_ | 2.0.10 | 1.0.24 | 1.8.1 |
38
- | 1.0.0-ALPHA-33 | _ no suffix_ | 2.0.0 | 1.0.24 | 1.8.1 |
39
- | 1.0.0-ALPHA-30 | _ no suffix_ | 1.9.24 | 1.0.20 | 1.8.1 |
40
- | 1.0.0-ALPHA-28 | _ no suffix_ | 1.9.23 | 1.0.20 | 1.8.0 |
41
- | 1.0.0-ALPHA-25 | _ no suffix_ | 1.9.22 | 1.0.17 | 1.8.0 |
42
- | 1.0.0-ALPHA-23 | _ no suffix_ | 1.9.21 | 1.0.16 | 1.7.3 |
43
- | 1.0.0-ALPHA-21 | _ no suffix_ | 1.9.20 | 1.0.14 | 1.7.3 |
44
- | 1.0.0-ALPHA-18 | _ no suffix_ | 1.9.10 | 1.0.13 | 1.7.3 |
45
- | 1.0.0-ALPHA-17 | _ no suffix_ | 1.9.0 | 1.0.12 | 1.7.3 |
46
- | 1.0.0-ALPHA-12 | _ no suffix_ | 1.8.22 | 1.0.11 | 1.7.2 |
47
- | 1.0.0-ALPHA-10 | _ no suffix_ | 1.8.21 | 1.0.11 | 1.7.1 |
48
- | 1.0.0-ALPHA-7 | _ no suffix_ | 1.8.20 | 1.0.10 | 1.6.4 |
29
+ | Version | Version suffix | Kotlin | KSP | Coroutines |
30
+ | ----------------| ----------------------| :----------:| :---------:| :----------:|
31
+ | ** _ latest_ ** | ** _ no suffix_ ** | ** 2.1.20** | ** 2.0.0** | ** 1.10.1** |
32
+ | 1.0.0-ALPHA-41 | _ no suffix_ | 2.1.10 | 1.0.31 | 1.10.1 |
33
+ | 1.0.0-ALPHA-40 | _ no suffix_ | 2.1.10 | 1.0.31 | 1.10.1 |
34
+ | 1.0.0-ALPHA-38 | _ no suffix_ | 2.1.0 | 1.0.29 | 1.9.0 |
35
+ | 1.0.0-ALPHA-37 | _ no suffix_ | 2.0.21 | 1.0.25 | 1.9.0 |
36
+ | 1.0.0-ALPHA-36 | _ no suffix_ | 2.0.20 | 1.0.25 | 1.9.0 |
37
+ | 1.0.0-ALPHA-35 | _ no suffix_ | 2.0.20 | 1.0.24 | 1.8.1 |
38
+ | 1.0.0-ALPHA-34 | _ no suffix_ | 2.0.10 | 1.0.24 | 1.8.1 |
39
+ | 1.0.0-ALPHA-33 | _ no suffix_ | 2.0.0 | 1.0.24 | 1.8.1 |
40
+ | 1.0.0-ALPHA-30 | _ no suffix_ | 1.9.24 | 1.0.20 | 1.8.1 |
41
+ | 1.0.0-ALPHA-28 | _ no suffix_ | 1.9.23 | 1.0.20 | 1.8.0 |
42
+ | 1.0.0-ALPHA-25 | _ no suffix_ | 1.9.22 | 1.0.17 | 1.8.0 |
43
+ | 1.0.0-ALPHA-23 | _ no suffix_ | 1.9.21 | 1.0.16 | 1.7.3 |
44
+ | 1.0.0-ALPHA-21 | _ no suffix_ | 1.9.20 | 1.0.14 | 1.7.3 |
45
+ | 1.0.0-ALPHA-18 | _ no suffix_ | 1.9.10 | 1.0.13 | 1.7.3 |
46
+ | 1.0.0-ALPHA-17 | _ no suffix_ | 1.9.0 | 1.0.12 | 1.7.3 |
47
+ | 1.0.0-ALPHA-12 | _ no suffix_ | 1.8.22 | 1.0.11 | 1.7.2 |
48
+ | 1.0.0-ALPHA-10 | _ no suffix_ | 1.8.21 | 1.0.11 | 1.7.1 |
49
+ | 1.0.0-ALPHA-7 | _ no suffix_ | 1.8.20 | 1.0.10 | 1.6.4 |
49
50
50
51
You can choose from a couple of Swift implementations.
51
52
Depending on the implementation you can support as low as iOS 9, macOS 10.9, tvOS 9 and watchOS 3:
@@ -69,8 +70,8 @@ Make sure to always use the same versions for all the libraries!
69
70
For Kotlin just add the plugin to your ` build.gradle.kts ` :
70
71
``` kotlin
71
72
plugins {
72
- id(" com.google.devtools.ksp" ) version " 2.1.20-1 .0.31 "
73
- id(" com.rickclephas.kmp.nativecoroutines" ) version " 1.0.0-ALPHA-41 "
73
+ id(" com.google.devtools.ksp" ) version " 2.1.20-2 .0.0 "
74
+ id(" com.rickclephas.kmp.nativecoroutines" ) version " 1.0.0-ALPHA-42 "
74
75
}
75
76
```
76
77
and make sure to opt in to the experimental ` @ObjCName ` annotation:
@@ -86,7 +87,7 @@ The Swift implementations are available via the Swift Package Manager.
86
87
Just add it to your ` Package.swift ` file:
87
88
``` swift
88
89
dependencies: [
89
- .package (url : " https://github.com/rickclephas/KMP-NativeCoroutines.git" , exact : " 1.0.0-ALPHA-41 " )
90
+ .package (url : " https://github.com/rickclephas/KMP-NativeCoroutines.git" , exact : " 1.0.0-ALPHA-42 " )
90
91
],
91
92
targets: [
92
93
.target (
@@ -118,9 +119,9 @@ Or add it in Xcode by going to `File` > `Add Packages...` and providing the URL:
118
119
119
120
If you use CocoaPods add one or more of the following libraries to your ` Podfile ` :
120
121
``` ruby
121
- pod ' KMPNativeCoroutinesAsync' , ' 1.0.0-ALPHA-41 ' # Swift Concurrency implementation
122
- pod ' KMPNativeCoroutinesCombine' , ' 1.0.0-ALPHA-41 ' # Combine implementation
123
- pod ' KMPNativeCoroutinesRxSwift' , ' 1.0.0-ALPHA-41 ' # RxSwift implementation
122
+ pod ' KMPNativeCoroutinesAsync' , ' 1.0.0-ALPHA-42 ' # Swift Concurrency implementation
123
+ pod ' KMPNativeCoroutinesCombine' , ' 1.0.0-ALPHA-42 ' # Combine implementation
124
+ pod ' KMPNativeCoroutinesRxSwift' , ' 1.0.0-ALPHA-42 ' # RxSwift implementation
124
125
```
125
126
> [ !NOTE]
126
127
> The version for CocoaPods should not contain the Kotlin version suffix (e.g. ` -new-mm ` or ` -kotlin-1.6.0 ` ).
0 commit comments