Михаил Капелько 1 anno fa
parent
commit
3cdc300a49
2 ha cambiato i file con 5 aggiunte e 8 eliminazioni
  1. +0
    -7
      src/App.swift
  2. +5
    -1
      src/VM.swift

+ 0
- 7
src/App.swift Vedi File

@@ -17,13 +17,6 @@ class AppDelegate: UIResponder, UIApplicationDelegate
window?.backgroundColor = UIColor.white
window?.makeKeyAndVisible()
Bus.process(
MeetupId.K.meetupIdTextUI.rawValue,
MeetupId.K.meetupIdTextApp.rawValue,
MeetupId.shouldFormat
)

return true
}
}

+ 5
- 1
src/VM.swift Vedi File

@@ -3,7 +3,11 @@ import SwiftUI

final class VM: ObservableObject {
@Published var text = "a:"

let format = Bus.Processor(
MeetupId.K.meetupIdTextUI.rawValue,
MeetupId.K.meetupIdTextApp.rawValue,
MeetupId.shouldFormat
)
var subscriptions = [AnyCancellable]()

init() {


Loading…
Annulla
Salva