Using xcode 8 beta 6.
Type override func prepare and I see this ..
But I am looking for
prepare(for segue: UIStoryboardSegue, sender: AnyObject?)
Is this a bug? This class is a subclass of ViewController?
Maybe this was a bug in Beta 6. I'm using the GM seed, and it is working:
BTW: In beta 6, the method was renamed to
prepare(for segue: UIStoryboardSegue, sender: Any?)
1.4m articles
1.4m replys
5 comments
57.0k users