Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

I updated to Xcode 8 beta 6 and I am getting very weird errors

I just update to Xcode 8 beta 6 and got an overload of errors (no surprise), I got most of them sorted out, but there are two errors which I am unsure of how to fix.

For this I get this error Method does not override any method from its superclass

override func prepare(for segue: UIStoryboardSegue, sender: AnyObject?) {
    if(segue.identifier == "***"){

    }
}

And for this I get this error init has been renamed to init(describing:)

return String(self.type)
like image 642
anonymous Avatar asked Nov 28 '22 13:11

anonymous


1 Answers

The method signature has changed in Xcode 8 now it is the following:

override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
   // Code here
}
like image 93
darren102 Avatar answered Dec 01 '22 03:12

darren102