Xcode 6 Swift错误

时间:2014-11-19 21:58:50

标签: xcode swift

我一直收到这些错误消息。 但不知道为什么。有谁可能知道如何纠正这个问题? 我是Swift的新手,所以我能得到的所有帮助都非常感激。感谢

这是我不断获取的printScreen

https://www.dropbox.com/s/8gvc9d8k03v11w7/Screen%20Shot%202014-11-19%20at%2022.48.12.png?dl=0

import UIKit

class SignUpViewController: UIViewController {
    @IBOutlet weak var txtEmail: UITextField!
    @IBOutlet weak var txtPassword: UITextField!

    @IBOutlet weak var txtConfirmPassword: UITextField!


    @IBAction func SignUpButton(sender: UIButton) {
    }

    @IBAction func gotoLogin(sender: UIButton) {
        self.dismissViewControllerAnimated(True, completion: nil)

    }

Xcode对我大喊:“”一行上的连续声明必须用';'分隔。“

1 个答案:

答案 0 :(得分:2)

truefalseBool,而不是TRUETrueFALSEFalse和/或{ {1}},无论自动填充程序告诉您什么;)