Post

Replies

Boosts

Views

Activity

Reply to Keep recieaving a "Class is not key value coding-compliant"
I copied and pasted the view controller which was automatically generated by the new project to create multiple view controllers. I then pasted the UI objects from the pervious project into the new project. I also created seperate swift files for each new view controller unlike my pervious project and transfered the code corresponding to each specific one. However for the example I provided I did not transfer the UI objects from the old project, only the code. I did the things you said and the same error still occured.
Topic: UI Frameworks SubTopic: UIKit Tags:
Aug ’22
Reply to Keep recieaving a "Class is not key value coding-compliant"
I did what you said Eskimo and intially it did not work, however when I decided to retype the name 'EviPasswordVC' into the view controller ClassField, a checkbox with the text 'Inherit Module from Target' switched from being unticked to ticked and the error stopped. I am unsure why it did not do this intially when I first renamed the view controller but either way the error is gone now. Thanks for the help Eskimo and Claude31, really appreciate it.
Topic: UI Frameworks SubTopic: UIKit Tags:
Aug ’22