Why is the `TipViewStyle` protocol not isolated to the main actor?

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!

Answered by DTS Engineer in 790308022

@Quantm Thanks for flagging that. Could you please file a bug report and post the FB number here once you do. Please be sure to test on future beta releases as well.

@Quantm Thanks for flagging that. Could you please file a bug report and post the FB number here once you do. Please be sure to test on future beta releases as well.

👍I've filed the feedback: FB13855667

Why is the `TipViewStyle` protocol not isolated to the main actor?
 
 
Q