Skip to content

Commit ad96675

Browse files
committed
Add explicit MainActor to UIViewDSL
Add explicit @mainactor to UIViewDSL, though it seems unnecessary since the protocol’s Self constraint on UIView is already @MainActor-protected by UIView
1 parent 089b5b6 commit ad96675

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Sources/UIViewKit/UIViewDSL/UIViewDSL.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
import UIKit
99

10+
@MainActor
1011
public protocol UIViewDSL where Self: UIView { }
1112

1213
extension UIView: UIViewDSL { }

0 commit comments

Comments
 (0)