Skip to content

Commit 1a55b73

Browse files
authored
Update README.md
1 parent 1b10920 commit 1a55b73

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ For example, instead of using KotlinInt/KotlinInt?, we're using Int/Int?, it can
1010

1111
Currently supported Kotlin types : dataclass/class, int, double, float, bool, uint, Long (swift int64), please make an issue for more.
1212

13+
You can also bind **List** but only with type Class, DataClass and String.
14+
1315
> [!NOTE]
1416
> The macro can create uniderectional and bidirectionel binding
1517
@@ -61,6 +63,7 @@ The macro generate a SwiftUI ViewModel from the content of the Kotlin `ExampleVi
6163
.init(\.bidirectionalString, String.self, true),
6264
.init(\.bidirectionalInt, Int?.self, true),
6365
.init(\.bidirectionalBoolean, Bool.self, true),
66+
.init(\.bidirectionalLong, Int64.self, true),
6467
.init(\.bidirectionalLong, Int64.self, true)
6568
)
6669
class MyMainScreenViewModel: ObservableObject {}

0 commit comments

Comments
 (0)