From 187b5dc7406e6c28348069f45f40bce8efe5e692 Mon Sep 17 00:00:00 2001 From: sergeis Date: Thu, 9 Jul 2020 10:32:34 +0300 Subject: [PATCH] allow subclassing blurEffect property --- Source/AlertVisualStyle.swift | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/AlertVisualStyle.swift b/Source/AlertVisualStyle.swift index 0e8e401..23546d0 100644 --- a/Source/AlertVisualStyle.swift +++ b/Source/AlertVisualStyle.swift @@ -134,7 +134,8 @@ open class AlertVisualStyle: NSObject { } }() - var blurEffect: UIBlurEffect { + @objc + open var blurEffect: UIBlurEffect { if #available(iOS 13, *) { return UIBlurEffect(style: .systemMaterial) } else if #available(iOS 10, *) {