import SwiftUI

struct AddressKey : FocusedValueKey {
   typealias Value = String
}
extension FocusedValues {
   var address: AddressKey.Value? {
      get { self[AddressKey.self] }
      set { self[AddressKey.self] = newValue }
   }
}
@Observable class ApplicationData {
   var inputMessage: String = ""
   var inputAddress: String = ""

   static let shared: ApplicationData = ApplicationData()
   private init() { }
}