Learning iOS development and followed the tutorial on Apple's web site. After I have connected a button to the view controller code (by ctl-drag), I decided to rename the action. Instead of refactoring, I removed the section of code and reconnect (by ctl-drag). Now the app crashed everytime I tried to run it because it is still looking for the old action.
How do I resolve this situation instead of creating a new project?
I am using Xcode 9.
You can remove action in this manner here you will find two action like this already connected to old one so just remove that and it will disappear and connect to new one
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With