ButtonをドラッグしてViewController.swiftにドラッグして「Action」に変更し、
@IBAction func tappedButton(sender: Any-Object){}
というプログラムが追加された。
その後、tappedButtonメソッドの{}の中に label. text = "ようこそ" を記述し、
シミュレーターを起動しようとすると、 postfix is reserved とエラーがでてしまいます。。。
![イメージ説明]WIDTH:600
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2015/05/06 06:17