@MainActor should make the function async
|
|
4
|
3217
|
December 13, 2024
|
GlobalActor and DispatchQueue pairing like @MainActor and DispatchQueue.main
|
|
17
|
213
|
December 12, 2024
|
Is this runtime crash related to incorrect executor assumption / inheritence?
|
|
0
|
126
|
October 23, 2024
|
@preconcurrency attribute on conformance to 'AProtocol' has no effect
|
|
1
|
215
|
October 12, 2024
|
What is the correct way to call UIApplication.shared.beginBackgroundTask no on the main thread?
|
|
5
|
479
|
October 11, 2024
|
Should awakeFromNib() be manually marked as @MainActor?
|
|
5
|
3064
|
October 9, 2024
|
Using @MainActor to ensure execution on the main thread
|
|
5
|
20826
|
September 12, 2024
|
Why doesn’t this MainActor lock the UI
|
|
8
|
349
|
August 7, 2024
|
Converting function value of type '@MainActor () -> ()' to '() -> Void' loses global actor 'MainActor'
|
|
11
|
8960
|
August 4, 2024
|
Use a `Protocol` of @MainActor instead of concrete @MainActor class produces an error
|
|
6
|
1188
|
June 17, 2024
|
Overloading on the isolation of a closure parameter
|
|
5
|
331
|
June 17, 2024
|
Using @MainActor on an ObservableObject or a method
|
|
2
|
2470
|
June 11, 2024
|
MainActor isolated protocol affects on child class but not superclass
|
|
3
|
837
|
June 11, 2024
|
How to correctly update the UI from an asynchronous context
|
|
14
|
4140
|
June 6, 2024
|
@MainActor behavior for async functions
|
|
2
|
467
|
May 9, 2024
|
Main actor-isolated class 'B' has different actor isolation from nonisolated superclass 'A' warning
|
|
1
|
757
|
April 15, 2024
|
@MainActor-isolated property called not on the Main Actor
|
|
7
|
3639
|
March 27, 2024
|
Warning when assigning a closure to an immutable property on a @MainActor isolated struct from a non isolated initializer
|
|
4
|
1036
|
March 17, 2024
|
Why is a static let CGFloat in a View an async property in swift 6?
|
|
12
|
634
|
March 14, 2024
|
Task in @MainActor Function Appears to Become Detached
|
|
4
|
852
|
March 12, 2024
|
Changing a binding variable from a secondary thread
|
|
1
|
370
|
February 15, 2024
|
Swift 4.2 Compiler Language and @MainActor
|
|
0
|
511
|
January 15, 2024
|
@MainActor with protocols
|
|
0
|
927
|
December 4, 2023
|
@Observable macro conflicting with @MainActor
|
|
3
|
5347
|
November 21, 2023
|
Context switch on MainActor and number of threads
|
|
9
|
1368
|
November 11, 2023
|
[Swift 5.9] Using shorthand syntax to reference @MainActor isolated method from non isolated context raises error
|
|
0
|
597
|
September 1, 2023
|
Run a @MainActor closure synchronously
|
|
3
|
3784
|
May 22, 2023
|
Non-isolated context error in actor's init
|
|
0
|
2005
|
April 19, 2023
|
Is it unnecessary to switch to the @MainActor from a function where a helper function is the one actually updating the UI?
|
|
2
|
1557
|
March 21, 2023
|
How to remove the inherited @MainActor attribute on stored properties
|
|
3
|
960
|
March 21, 2023
|