Skip to content
This repository was archived by the owner on Sep 8, 2025. It is now read-only.

Commit 1304bf1

Browse files
authored
Merge pull request #191 from icerockdev/develop
Release 0.1.0-dev-17
2 parents ed6f034 + 5990f50 commit 1304bf1

File tree

4 files changed

+10
-7
lines changed

4 files changed

+10
-7
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This is a Kotlin MultiPlatform library that provides declarative UI and applicat
66
in common code. You can implement full application for Android and iOS only from common code with it.
77

88
## Current status
9-
Current version - `0.1.0-dev-16`. Dev version is not tested in production tasks yet, API can be changed and
9+
Current version - `0.1.0-dev-17`. Dev version is not tested in production tasks yet, API can be changed and
1010
bugs may be found. But dev version is chance to test limits of API and concepts to feedback and improve lib.
1111
We open for any feedback and ideas (go to issues or #moko at [kotlinlang.slack.com](https://kotlinlang.slack.com))!
1212

@@ -225,6 +225,7 @@ val loginScreen = Theme(baseTheme) {
225225
- 0.1.0-dev-15
226226
- kotlin 1.3.70
227227
- 0.1.0-dev-16
228+
- 0.1.0-dev-17
228229

229230
## Installation
230231
root build.gradle
@@ -239,7 +240,7 @@ allprojects {
239240
project build.gradle
240241
```groovy
241242
dependencies {
242-
commonMainApi("dev.icerock.moko:widgets:0.1.0-dev-16")
243+
commonMainApi("dev.icerock.moko:widgets:0.1.0-dev-17")
243244
}
244245
```
245246

@@ -252,7 +253,7 @@ buildscript {
252253
}
253254
254255
dependencies {
255-
classpath "dev.icerock.moko.widgets:gradle-plugin:0.1.0-dev-16"
256+
classpath "dev.icerock.moko.widgets:gradle-plugin:0.1.0-dev-17"
256257
}
257258
}
258259

buildSrc/src/main/kotlin/Versions.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ object Versions {
1010
}
1111

1212
const val kotlin = "1.3.70"
13-
private const val mokoWidgets = "0.1.0-dev-16"
13+
private const val mokoWidgets = "0.1.0-dev-17"
1414
private const val mokoResources = "0.9.0"
1515

1616
object Plugins {
@@ -41,7 +41,7 @@ object Versions {
4141
const val mokoResources = Versions.mokoResources
4242
const val mokoMvvm = "0.6.0"
4343
const val mokoFields = "0.3.0"
44-
const val mokoUnits = "0.3.0"
44+
const val mokoUnits = "0.3.1"
4545
const val mokoMedia = "0.4.0"
4646
const val mokoGraphics = "0.3.0"
4747
const val mokoParcelize = "0.3.0"

widgets-collection/src/iosMain/kotlin/dev/icerock/moko/widgets/collection/SimpleCollectionViewFactory.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ package dev.icerock.moko.widgets.collection
66

77
import cocoapods.mokoWidgetsCollection.ALCollectionFlowLayout
88
import dev.icerock.moko.units.UnitCollectionViewDataSource
9+
import dev.icerock.moko.units.createUnitCollectionViewDataSource
910
import dev.icerock.moko.widgets.core.ViewBundle
1011
import dev.icerock.moko.widgets.core.ViewFactory
1112
import dev.icerock.moko.widgets.core.ViewFactoryContext
@@ -88,7 +89,7 @@ actual class SimpleCollectionViewFactory actual constructor(
8889
)
8990
}
9091
}
91-
val unitDataSource = UnitCollectionViewDataSource.create(collectionView)
92+
val unitDataSource = createUnitCollectionViewDataSource(collectionView)
9293

9394
with(collectionView) {
9495
translatesAutoresizingMaskIntoConstraints = false

widgets/src/iosMain/kotlin/dev/icerock/moko/widgets/factory/SystemListViewFactory.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ package dev.icerock.moko.widgets.factory
66

77
import dev.icerock.moko.units.TableUnitItem
88
import dev.icerock.moko.units.UnitTableViewDataSource
9+
import dev.icerock.moko.units.createUnitTableViewDataSource
910
import dev.icerock.moko.widgets.ListWidget
1011
import dev.icerock.moko.widgets.core.ViewBundle
1112
import dev.icerock.moko.widgets.core.ViewFactory
@@ -51,7 +52,7 @@ actual class SystemListViewFactory actual constructor(
5152
frame = CGRectZero.readValue(),
5253
style = UITableViewStyle.UITableViewStylePlain
5354
)
54-
val unitDataSource = UnitTableViewDataSource.create(tableView)
55+
val unitDataSource = createUnitTableViewDataSource(tableView)
5556

5657
with(tableView) {
5758
translatesAutoresizingMaskIntoConstraints = false

0 commit comments

Comments
 (0)