Cannot drag IBOutlet pointers from File's Owner


#1

In attempting to do the silver challenge, I have defined 4 IBOutlets (one for each subview). However, when I open the XIB, I can’t ctrl+drag to the controls. I notice there is an ! in the outlets for File’s Owner (see screenshot). Any ideas? Thanks.

http://imgur.com/CePmk


#2

Hm. Select the File’s Owner and then Identity Inspector. What does it say for the Class field? Make sure it is the exact name of your view controller subclass.


#3

Wow that was it. What happened was I renamed the HeavyViewController from the edit -> Refactor menu selection (I had fat fingered the name initially and wanted to change it). It updated everything correctly in the project except the old class name was in the Class field for File’s Owner. Wonder if that’s a bug in Xcode?

Thanks Joe.