Skip to content

Commit

Permalink
method is never user and clashes with objc version
Browse files Browse the repository at this point in the history
  • Loading branch information
pmairoldi committed Nov 4, 2016
1 parent 6000655 commit f722f2d
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions Source/Charts/Utils/ChartPlatform.swift
Original file line number Diff line number Diff line change
Expand Up @@ -470,17 +470,6 @@ types are aliased to either their UI* implementation (on iOS) or their NS* imple
}
}

extension NSTouch
{
/** Touch locations on OS X are relative to the trackpad, whereas on iOS they are actually *on* the view. */
func locationInView(view: NSView) -> NSPoint
{
let n = self.normalizedPosition
let b = view.bounds
return NSPoint(x: b.origin.x + b.size.width * n.x, y: b.origin.y + b.size.height * n.y)
}
}

extension NSScrollView
{
var scrollEnabled: Bool
Expand Down

0 comments on commit f722f2d

Please sign in to comment.