I created a class when I first created my project, and I had lots of views in Interface Builder that were set to that class type.
Later I decided to get rid of that class. I deleted the class files in X-code, deleted all references to them in the code, deleted them from the project folder in the Finder, changed the class of each object in IB to 'ImageView' instead.
I cleaned all the targets in X-code, I've reloaded all the class files in IB, and I've re-compiled the project again.
And STILL, I get this message in the debugger:
Unknown class CardView in Interface Builder file.
There's nothing not working about it, nowhere that it's expecting that class in the project (I've done a 'find in project' trying to fit a setting for it, but it's not there). It doesn't come up in IB when I go to the drop down list of classes, like if I were trying to change the class of an object.
So where is it?? How can I get rid of it once and for all?
(The only little clue I have, is that when I changed the class type in IB back to Imageview, instead of my own class (which was a subclass of UIControl), the Inspector panel didn't look quite like a normal Image View one - there was no drop down box to set the image, for example, and the icons in the window where all the objects are listed are still the ordinary ones, not the picture-icon that normally comes up for ImageViews. So perhaps it is still somehow thinking that it's this old class. But I load images to it fine in the code, and it functions fine as an ImageView, and it all seems to work properly, apart from the fact that I get this message every time.)
Any ideas? Thanks.
Post edited by Robyn on
<b>Times Table Clock: </b><font color="Teal">BEAT THE JOKERS! </font> - a fun, addictive game of clock solitaire that effortlessly teaches times tables as you play.<br />
[SIGPIC][/SIGPIC] <br />