title: Class AppDelegate: UIResponder, UIApplicationDelegate Thread 1: signal SIGABRT
body: <p>I started working on app development tutorials from today and already started facing hard to deal bug. I know it may be easy for pro developers, but not for me.</p>
  
  <p>The simple app I made is - To Do List</p>
  
  <p>Under new project -> Tabbed Application - > Swift -> iPhone
  This is the code for second view controller,</p>
  
  <pre><code>    import UIKit
  
  class SecondViewController: UIViewController {
  var toDoItems:[String] = []
  
      @IBOutlet weak var toDoItem: UITextField!
  
      @IBAction func addItem(sender: AnyObject) {
  
          toDoItems.append(toDoItem.text)
  
          println(toDoItems)
  
      }
  
      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.
      }
  
  
  }
  </code></pre>
  
  <p>I am sick of this SIGABRT problem. Other people are using the exact same code that I am and there program is working perfectly fine. Not sure why I am having this issue. </p>
  
  <p>I tried the following:</p>
  
  <ul>
  <li><p>Clear the cache</p></li>
  <li><p>Restarted the Xcode multiples times</p></li>
  <li><p>Redid the complete code again saving as a completely different file</p></li>
  </ul>
  
  <p>I am using the following:</p>
  
  <ul>
  <li><p>xcode 6.0.1 (6A317)</p></li>
  <li><p>OS Yosemite</p></li>
  <li><p>I have a developer account</p></li>
  </ul>