This commit is contained in:
Михаил Капелько committed 2024-01-18 18:46:09 +03:00
1 parent a7f5161e5e
commit 496c34a89f
3 files changed
+21 -9

No files matched your search

+14 -2
View File
@@ -33,7 +33,8 @@ class AppDelegate: UIResponder, UIApplicationDelegate
/**/print("ИГР App.didFLWO")
//testMic1()
testMic2()
//testMic2()
testMic2_id("1")
return true
}
@@ -57,7 +58,18 @@ class AppDelegate: UIResponder, UIApplicationDelegate
DispatchQueue.main.asyncAfter(deadline: .now() + 6) {
Bus.send(Mic.K.activityDate, Date() + 7)
}
}
// "1"
func testMic2_id(_ id: String) {
DispatchQueue.main.asyncAfter(deadline: .now() + 2) {
Bus.send(Bus.keyId(Mic.K.activityDate, id), Date() + 2)
}
DispatchQueue.main.asyncAfter(deadline: .now() + 5) {
Bus.send(Bus.keyId(Mic.K.activityDate, id), Date() + 2)
}
DispatchQueue.main.asyncAfter(deadline: .now() + 6) {
Bus.send(Bus.keyId(Mic.K.activityDate, id), Date() + 3)
}
}
}