Skip to content

Instantly share code, notes, and snippets.

@masakid
Created March 28, 2015 16:41
Show Gist options
  • Save masakid/0fad4040b417391c8a15 to your computer and use it in GitHub Desktop.
Save masakid/0fad4040b417391c8a15 to your computer and use it in GitHub Desktop.
import UIKit
class ViewController: UIViewController {
@IBOutlet weak var valueLabel: UILabel!
@IBOutlet weak var blueSlider: UISlider!
override func viewDidLoad() {
super.viewDidLoad()
// Do any additional setup after loading the view, typically from a nib.
}
override func didReceiveMemoryWarning() {
super.didReceiveMemoryWarning()
// Dispose of any resources that can be recreated.
}
@IBAction func moveSlider(sender: AnyObject) {
CommonProcess.commonMoveSlider(valueLabel, slider: blueSlider)
}
override func viewWillAppear(animated: Bool) {
CommonProcess.settingOtherTabData(valueLabel, slider: blueSlider)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment