Inheritance in Actors #7
Closed
PMUNOZ08
started this conversation in
Lessons & Modules
Replies: 1 comment
-
That's a great catch, thanks a lot @PMUNOZ08! I've updated the lesson Understanding actors in Swift Concurrency to mention this. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
There is an exception relative to inheritance in Actors. An actor can inherit from NSObject for compatibility with code base, mainly for interoperability with Objective -C.
Same root cause as for final clases can inherit from NSOBject and be marked as sendable.
Beta Was this translation helpful? Give feedback.
All reactions