From d46c322292c76f2f132b438558ad8b07d5f4c176 Mon Sep 17 00:00:00 2001 From: beckj Date: Mon, 24 Jun 2024 18:14:04 +0900 Subject: [PATCH] Add MainActor attribute to ChartViewDelegate. --- Source/Charts/Charts/ChartViewBase.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Charts/Charts/ChartViewBase.swift b/Source/Charts/Charts/ChartViewBase.swift index cfa7094cdf..e94a2d2796 100644 --- a/Source/Charts/Charts/ChartViewBase.swift +++ b/Source/Charts/Charts/ChartViewBase.swift @@ -22,7 +22,7 @@ import AppKit #endif @objc -public protocol ChartViewDelegate +@MainActor public protocol ChartViewDelegate { /// Called when a value has been selected inside the chart. ///