Skip to content

Commit

Permalink
fix casting warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
pmairoldi committed Oct 18, 2018
1 parent 9c01bc9 commit 55028b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/Charts/Utils/Platform+Accessibility.swift
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ open class NSUIAccessibilityElement: UIAccessibilityElement
override init(accessibilityContainer container: Any)
{
// We can force unwrap since all chart views are subclasses of UIView
containerView = container as! UIView
containerView = (container as! UIView)
super.init(accessibilityContainer: container)
}

Expand Down Expand Up @@ -170,7 +170,7 @@ open class NSUIAccessibilityElement: NSAccessibilityElement
init(accessibilityContainer container: Any)
{
// We can force unwrap since all chart views are subclasses of NSView
containerView = container as! NSView
containerView = (container as! NSView)

super.init()

Expand Down

0 comments on commit 55028b1

Please sign in to comment.