Demystifying Views in iOS · View to Controller Conversion |

This is a companion discussion topic for the original entry at

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! :]