pixeloftdev
pixeloftdev

Reputation: 247

I'm getting a lock alert when trying to connect/add elements to the viewcontroller in Xcode 7.3

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!

enter image description here

Upvotes: 1

Views: 244

Answers (1)

Eric Aya
Eric Aya

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

Related Questions