The only change that have been made to the code from the initial have been made in ViewControl.swift
override func viewDidLoad() {
newMessage.hidden = true
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.
}
@IBOutlet weak var newMessage: UILabel!
@IBOutlet var newButton: UIButton!
@IBAction func newButtonAction(sender: UIButton) {
newMessage.hidden = false
}
}
yet I'm getting a SIGABRT
error in AppDelegate.swift on
class AppDelegate: UIResponder, UIApplicationDelegate {
Is this an Xcode 6.1 error or is there something wrong with my code?
There is most likely something fishy going on in you xib/storyboard. Check the connections to make sure all your IBOutlets
and IBActions
are connected correctly and that there aren't any connections left over from old, deleted or modified variables.
Other than that, it's hard to say without more information. Check out this and this for more help.