Михаил Капелько hace 10 meses
padre
commit
3cdc300a49
Se han modificado 2 ficheros con 5 adiciones y 8 borrados
  1. +0
    -7
      src/App.swift
  2. +5
    -1
      src/VM.swift

+ 0
- 7
src/App.swift Ver fichero

@@ -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 Ver fichero

@@ -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() {


Cargando…
Cancelar
Guardar