Closed mhh-azam closed 3 months ago
I'm not too sure what you mean by the fix to the actor-isolated properties. This is currently compiling, so Swift doesn't seem to care about isolation here and the dispatch to the main actor is required to modify that property to make SwiftUI happy. Also correct me if I'm wrong but your patch doesn't fix actor isolation, it just weakly references self
but still references everything else the same.
Description
This PR addresses the following issues:
Fix for Self Initialization Before Use:
displayName
property before accessingself
in the initializer.Fix for Using Weak Self to Avoid Actor-Isolated Property Issue:
self
weakly in theMainActor.run
block to prevent issues with actor isolation.inout
to async functions.Fix for Resolving Corrupted
Package.resolved
File:Package.resolved
file to fix build errors.Related Issues
ISSUE_NUMBER
Checklist
Screenshots