Component - MainActor for UI updates
This component shows how to use MainActor in Swift to ensure UI updates happen on the main thread. It helps keep the app responsive and prevents UI glitches by running UI code safely on the main thread.
This component shows how to use MainActor in Swift to ensure UI updates happen on the main thread. It helps keep the app responsive and prevents UI glitches by running UI code safely on the main thread.
ViewController
└── View
├── Label
└── Button