I know that there are many questions on this subject, but I tried most of them to try to understand this without success.
problem: at first I could not add my class from the editor assistant because the user class did not take it.
- I made sure calls are inherited from uiviewcontroller
- I made sure the class is added to the target
- I tried deleting the class file and adding it back again
- Finally, I added the class via the xml storyboard and appeared in a custom class
Now I'm trying to connect my buttons, views, etc. to your exits. They seem to be connected, but when you start the application and open this view controller, the application crashes and the debugger prints: Msgstr "Unknown class xxx in Interface Builder file." and then "this class is not a key code compatible for the btnMenu key."
I checked:
- This inspector is connected correctly (there are no errors in the outputs)
- Tried to delete derived data
- Clear project
- Reinstall the application
I even tried restarting my Mac and of course I couldn’t.
Can someone illuminate the light here? thanks.
ios iphone xcode storyboard
Max
source share