How to fix “this class is not key value coding-compliant” after accidentally adding an IBOutlet instead of an IBAction
It has happened to us all: you’re in a storyboard, you’re using the Assistant Editor, you want to control-drag from a button into your code and create an action. But sadly you forget to select “Action” from the drop down menu and instead create an outlet. No biggie you think, deleting the outlet code. You […]