If a class is on @MainActor
:
@MainActor class MyClass : NSObject
{
}
does this put all its extensions on @MainActor
as well?
extension MyClass
{
}
If a class is on @MainActor
:
@MainActor class MyClass : NSObject
{
}
does this put all its extensions on @MainActor
as well?
extension MyClass
{
}
Copyright © 2021 Jogjafile Inc.
Yes. As SE-0316 - Global actors says: