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