Ios swift – Fixing warnings of non-conformance to "Sendable" for ImageResource in Swift 5.10
I have a file with some constants that maps enums to associated ImageResource for simplified usage in other places. Sample is below static let imagePreviews: [MyEnum: ImageResource] = [ .Enum1: .imageResource1, .Enum1: .imageResource2, ... ] After upgrading to latest XCode…