Михаил Капелько 10 months ago
parent
commit
e7975f151c
2 changed files with 9 additions and 2 deletions
  1. +8
    -1
      Modules/BusX/BusUI/src/BusUI.ManyTextField.swift
  2. +1
    -1
      Modules/MeetupIdX/src/MeetupId.Shoulds.swift

+ 8
- 1
Modules/BusX/BusUI/src/BusUI.ManyTextField.swift View File

@@ -8,6 +8,11 @@ extension BusUI {
let textUI: String
@Published public var id: String?
@Published public var v = "a:"
{
didSet {
/**/print("ИГР BusUMTF.v didSet: '\(v)'")
}
}
var subscriptions = [AnyCancellable]()
var sub = [AnyCancellable]()
@@ -52,6 +57,7 @@ extension BusUI {
Bus.receiveSync(
[textApp],
{ [weak self] (_, m: MPAK.Many<String>) in
/**/print("ИГР BusUMTF.receiveS-1 id: '\(id)'")
guard
let id,
m.keys.contains(id),
@@ -59,7 +65,8 @@ extension BusUI {
else {
return
}
/**/print("ИГР BusUMTF.receiveS-2 id: '\(id)'")

self?.v = "a:\(text)"
},
&subscriptions


+ 1
- 1
Modules/MeetupIdX/src/MeetupId.Shoulds.swift View File

@@ -70,7 +70,7 @@ public extension MeetupId {
let text = c.testTextUI.dict[id] ?? ""
d[id] = formatId(text)
}
let r = .init(c.testTextUI.keys, d)
let r = MPAK.Many(c.testTextUI.keys, d)
/**/print("ИГР MeetupIS.shouldMRT-3 r: '\(r)'")
return r
}


Loading…
Cancel
Save