Skip to content

Commit

Permalink
minor refactor
Browse files Browse the repository at this point in the history
change all gestures to internal
Use import UIKit instead of UIKit.UIGestureRecognizer
  • Loading branch information
liuxuan30 committed Aug 5, 2015
1 parent 2177f7d commit 93413f9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Charts/Classes/Charts/BarLineChartViewBase.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

import Foundation
import CoreGraphics
import UIKit.UIGestureRecognizer
import UIKit

/// Base-class of LineChart, BarChart, ScatterChart and CandleStickChart.
public class BarLineChartViewBase: ChartViewBase, UIGestureRecognizerDelegate
Expand Down Expand Up @@ -61,10 +61,10 @@ public class BarLineChartViewBase: ChartViewBase, UIGestureRecognizerDelegate

internal var _xAxisRenderer: ChartXAxisRenderer!

private var _tapGestureRecognizer: UITapGestureRecognizer!
private var _doubleTapGestureRecognizer: UITapGestureRecognizer!
private var _pinchGestureRecognizer: UIPinchGestureRecognizer!
private var _panGestureRecognizer: UIPanGestureRecognizer!
internal var _tapGestureRecognizer: UITapGestureRecognizer!
internal var _doubleTapGestureRecognizer: UITapGestureRecognizer!
internal var _pinchGestureRecognizer: UIPinchGestureRecognizer!
internal var _panGestureRecognizer: UIPanGestureRecognizer!

/// flag that indicates if a custom viewport offset has been set
private var _customViewPortEnabled = false
Expand Down

0 comments on commit 93413f9

Please sign in to comment.