本の通りに設置したのですが、シュミレーターが動きません。
なぜなんでしょうか?
//
// ViewController.swift
// slidere
//
// Created by h on 2015/12/10.
// Copyright © 2015年 h. All rights reserved.
//
import UIKit
class ViewController: UIViewController {
@IBOutlet weak var label: UILabel! @IBAction func showValue(sender: UISlider) {
label.text = "(sender.value)"
}
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. }
}
回答2件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。