Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

iOS Build a Simple iPhone App with Swift 2.0 View Controllers and Views Using IBAction to Execute Methods

When I try to make a new referencing outlet for button it will not let me select Action.

The connection type is greyed out and stuck as outlet.

Jennifer Nordell
seal-mask
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

Unfortunately, I have no idea on this one. I did find this post to someone who had something similar happening. You might take a look here. Hope you get it fixed! :sparkles:

Rafael Reis
Rafael Reis
14,931 Points

Try just to click in the button and hold the key control than drag the line to your .swift file. Also if you need to remove a reference to add a new one, you can always go in the "Show the Connections inspector" and remove the in the "referencing outlets". I hope that helps.

1 Answer