anonymous anonymous - 9 months ago 232
iOS Question

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)


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

override fun prepare(for segue: UIStoryboardSegue, sender: Any?) {
   // Code here