|
|
@@ -7,9 +7,9 @@ import UIKit |
|
|
|
|
|
|
|
struct Content: View { |
|
|
|
var body: some View { |
|
|
|
MeetupId.V() |
|
|
|
//MeetupId.V() |
|
|
|
MicItem.V() |
|
|
|
Divider() |
|
|
|
//Divider() |
|
|
|
MicItem.V("1") |
|
|
|
MicItem.V("2") |
|
|
|
} |
|
|
@@ -34,20 +34,20 @@ class AppDelegate: UIResponder, UIApplicationDelegate |
|
|
|
window?.makeKeyAndVisible() |
|
|
|
|
|
|
|
/**/print("ИГР App.didFLWO") |
|
|
|
//testMic1() |
|
|
|
testMic1() |
|
|
|
//testMic2() |
|
|
|
testMic2_id("1") |
|
|
|
DispatchQueue.main.asyncAfter(deadline: .now() + 3) { |
|
|
|
testMic2_id("2") |
|
|
|
self.testMic2_id("2") |
|
|
|
} |
|
|
|
return true |
|
|
|
} |
|
|
|
|
|
|
|
func testMic1() { |
|
|
|
DispatchQueue.main.asyncAfter(deadline: .now() + 2) { |
|
|
|
DispatchQueue.main.asyncAfter(deadline: .now() + 1) { |
|
|
|
Bus.send(Mic.K.isActive, true) |
|
|
|
} |
|
|
|
DispatchQueue.main.asyncAfter(deadline: .now() + 5) { |
|
|
|
DispatchQueue.main.asyncAfter(deadline: .now() + 4) { |
|
|
|
Bus.send(Mic.K.isActive, false) |
|
|
|
} |
|
|
|
} |
|
|
|