 		}
 	}
 	
-	private func setNewIndex(var point point: CGPoint) {
+	private func setNewIndex(point p: CGPoint) {
+		var point = p
 		point.x = CGRectGetWidth(view.frame) / 2.0
 		for label in labels {
 			if CGRectContainsPoint(label.frame, point) {

	public func flashIndex() {
		view.alpha = 1.0
		if canAutoHide {
			NSTimer.scheduledTimerWithTimeInterval(1.0, target: self, selector: "hideIndex", userInfo: nil, repeats: false)
		}
	}
	

		accessibilityLabel = NSLocalizedString("STBTableViewIndex-LABEL", tableName: "STBTableViewIndex", bundle: NSBundle.mainBundle(), value: "Table index", comment: "")
		accessibilityTraits = UIAccessibilityTraitAdjustable
		
		NSNotificationCenter.defaultCenter().addObserver(self, selector: #selector(STBTableViewIndex.accessibilityVoiceOverStatusChanged), name: UIAccessibilityVoiceOverStatusChanged, object: nil)
		NSNotificationCenter.defaultCenter().addObserver(self, selector: #selector(UIView.setNeedsLayout), name: STBTableViewIndexLayoutDidChange, object: nil)
		setNeedsLayout()
	}
	
