Не круто

Норм:
@objc private func onCardChanged() {
// onCardChanged called outside the main thread
DispatchQueue.main.async {
self.openCardIsConnectedViewController()
}
}
Не норм:
@objc private func onCardChanged() {
DispatchQueue.main.async { // called outside the main thread
self.openCardIsConnectedViewController()
}
}
Не норм:
@objc private func onCardChanged() {
DispatchQueue.main.async {
// called outside the main thread
self.openCardIsConnectedViewController()
}
}