diff --git a/Source/Charts/Utils/Platform+Accessibility.swift b/Source/Charts/Utils/Platform+Accessibility.swift index 59bd202833..8c31be57b6 100644 --- a/Source/Charts/Utils/Platform+Accessibility.swift +++ b/Source/Charts/Utils/Platform+Accessibility.swift @@ -33,7 +33,7 @@ open class NSUIAccessibilityElement: UIAccessibilityElement } } - override init(accessibilityContainer container: Any) + override public init(accessibilityContainer container: Any) { // We can force unwrap since all chart views are subclasses of UIView containerView = container as! UIView @@ -164,7 +164,7 @@ open class NSUIAccessibilityElement: NSAccessibilityElement } } - init(accessibilityContainer container: Any) + public init(accessibilityContainer container: Any) { // We can force unwrap since all chart views are subclasses of NSView containerView = container as! NSView