diff --git a/src/App.swift b/src/App.swift index 6f40164..f14573c 100644 --- a/src/App.swift +++ b/src/App.swift @@ -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 } } diff --git a/src/VM.swift b/src/VM.swift index 0e80f4d..bd33712 100644 --- a/src/VM.swift +++ b/src/VM.swift @@ -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() {