This website works better with JavaScript.
Home
Explore
Help
Sign In
kornerr
/
MMMemory
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
d
main
Михаил Капелько
1 year ago
parent
4d8ea1adfa
commit
966c7395b0
2 changed files
with
2 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
iOS/src/Main.Platform.swift
+1
-1
iOS/src/Main.SectionSelection.swift
+ 1
- 0
iOS/src/Main.Platform.swift
View 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
View File
@@ -15,7 +15,7 @@ extension Main {
}
// Выводим номер нажатой кнопки.
didSelectButton
core.
didSelectButton
.sink { i in print("ИГР MainSS.setupC didSB: '\(i)'") }
.store(in: &core.subscriptions)
}
Write
Preview
Loading…
Cancel
Save