Reputation: 247
I have a ViewController that all of the sudden will not allow me to add a new element or connect an existing element to an IBAction. I've looked through sample code as well and googled the s*%& out of it without finding a solution.
My ViewController.swift file contains this code:
@IBAction func helpButtonTapped(sender: AnyObject) { }
And I'm trying to connect a very basic button.
Also, note that I've double-checked to be sure that all elements and views are set to Lock: Nothing.
Any help would be amazing!
Upvotes: 1
Views: 244
Reputation: 70098
Go to menu Editor then Localization Locking then choose Nothing.
You probably have enabled one of the other locking options accidentally.
Upvotes: 2