Михаил Капелько 10 månader sedan
förälder
incheckning
3cdc300a49
2 ändrade filer med 5 tillägg och 8 borttagningar
  1. +0
    -7
      src/App.swift
  2. +5
    -1
      src/VM.swift

+ 0
- 7
src/App.swift Visa fil

@@ -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 Visa fil

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


Laddar…
Avbryt
Spara