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
Luigi Santos
13,200 PointsXCode is not letting me insert outlet.
At 6:00 where you right click and drag the + to the class, the horizontal blue bar should appear. XCode does not let me insert the outlet into the class.
2 Answers
Steven Deutsch
21,046 PointsHey Luigi Santos,
Your class is not linked up to the view controller in the storyboard file. What you need to do is click on the view controller in storyboard, then go to the panel on the right hand side of interface builder in Xcode. You will need to click on the 3rd tab, known as the identity inspector. Then under custom class, you will see a field marked "Class". Select the name of the view controller file that represents the storyboard. You will then be able to create your outlets.
Good Luck!
Luigi Santos
13,200 PointsAm I doing something wrong? http://imgur.com/fgyvbTK