mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-21 00:52:43 +02:00
Introduce StateStore with bindings example for Chat example.
This commit is contained in:
+1
-1
@@ -16,6 +16,6 @@
|
||||
|
||||
import Foundation
|
||||
|
||||
struct TemplateRoomChatViewModelInput {
|
||||
struct TemplateRoomChatViewModelBindings {
|
||||
var messageInput: String
|
||||
}
|
||||
|
||||
+2
-1
@@ -16,6 +16,7 @@
|
||||
|
||||
import Foundation
|
||||
|
||||
struct TemplateRoomChatViewState {
|
||||
struct TemplateRoomChatViewState: BindableState {
|
||||
var bubbles: [TemplateRoomChatBubble]
|
||||
var bindings: TemplateRoomChatViewModelBindings
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user