Demystifying Views in iOS 路 View to Controller Conversion | raywenderlich.com


This is a companion discussion topic for the original entry at https://www.raywenderlich.com/4518-demystifying-views-in-ios/lessons/19

I ran into a weird bug with Xcode at the three minute mark when trying to refactor the class name to LessonImagesViewController. When I did that, the reference inside Xcode turned red and the file on disk was not changed to match. I submitted it as as a reproducible bug to Apple as I was able to get it to happen three times in a row. My workaround was to change the class name before changing the superclass to UIViewController. For some reason, that worked just fine.

@nathandickson Thank you for sharing the solution - much appreciated! :]