Swift Error: Consecutive declarations on a line must be separated by ';' <p>This is my code:</p> <pre><code>import UIKit class PlaylistMasterViewController: UIViewController { @IBOutlet weak var abutton: UIButton! override func viewDidLoad() { super.viewDidLoad() abutton.setTitle("Press me!", forState: .Normal) } override func didReceiveMemoryWarning() { super.didReceiveMemoryWarning() // Dispose of any resources that can be recreated. } override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?) { if segue.identifier == "showPlaylistDetailSegue" { let playlistDetailController = segue.destinationViewController as! PlaylistDetailViewController playlistDetailController.segueLabelText = "Yay!You Pressed" } } </code></pre> <p>I am getting error on the last line! my xCode version is 6.3.2 .. and I can't overcomer this because the app is always failing. I am getting here two errors: 1- Consecutive declarations on a line must be separated by ';' 2- Expected Declaration</p> <p>Thanks in advance</p>