Михаил Капелько 1 anno fa
parent
commit
966c7395b0
2 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. +1
    -0
      iOS/src/Main.Platform.swift
  2. +1
    -1
      iOS/src/Main.SectionSelection.swift

+ 1
- 0
iOS/src/Main.Platform.swift Vedi File

@@ -7,6 +7,7 @@ extension Main {
class Core: UIViewController {
let didSelectButton = PassthroughSubject<Int, Never>()
var buttons = [UIButton]()
var subscriptions = [AnyCancellable]()

override func viewDidLoad() {
super.viewDidLoad()


+ 1
- 1
iOS/src/Main.SectionSelection.swift Vedi File

@@ -15,7 +15,7 @@ extension Main {
}

// Выводим номер нажатой кнопки.
didSelectButton
core.didSelectButton
.sink { i in print("ИГР MainSS.setupC didSB: '\(i)'") }
.store(in: &core.subscriptions)
}


Loading…
Annulla
Salva