Hey,
the TipViewStyle protocol seems to still be nonisolated, which makes using it in the Swift 6 language mode impossible, I believe (at least without using something like MainActor.assumeIsolated):
@available(macOS 14.0, iOS 17.0, tvOS 17.0, visionOS 1.0, watchOS 10.0, *)
public protocol TipViewStyle {
// ...
}
I cannot use any views inside the makeBody method.
Other style protocols, like ButtonStyle are correctly isolated to the main actor:
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
@MainActor @preconcurrency public protocol ButtonStyle {
// ...
}
Is this just an oversight or am I missing something and this is actually intentional?
Thanks!