Skip to content

Commit

Permalink
Updated selector syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
William Archimède committed Sep 7, 2016
1 parent f5fc2a1 commit ecd6fea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RangeSlider/ViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class ViewController: UIViewController {
view.addSubview(rangeSlider1)
view.addSubview(rangeSlider2)

rangeSlider1.addTarget(self, action: "rangeSliderValueChanged:", forControlEvents: .ValueChanged)
rangeSlider1.addTarget(self, action: #selector(ViewController.rangeSliderValueChanged(_:)), forControlEvents: .ValueChanged)
}

override func viewDidLayoutSubviews() {
Expand Down

0 comments on commit ecd6fea

Please sign in to comment.