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 trialJonathan Letchford
1,718 PointsWhy would control dragging be not working?
I'm following the directions in the video but xcode isn't letting me control drag the button. I'm getting the blue line, just that nothing is happening when I release.
7 Answers
agreatdaytocode
24,757 PointsHello Jonathan,
Make sure you are placing it in the correct file / location within the .swift file.
Jonathan Letchford
1,718 PointsCan you elaborate? I'm a noob.
agreatdaytocode
24,757 PointsSure,
When you have the assistant editor open the file name can be viewed via the drop down menu provided in xCode. You want to make sure you are on the correct file that is assigned to the view controller.
In this case I would make sure that automatic is selected.
Riz Ainuddin
2,421 PointsAaron, I'm facing the same problem as well as Jonathan. Can ctrl+drag the outlet in the PlaylistDetailViewController. I tried to changed to Automatic and the entire page just went blank.
Riz Ainuddin
2,421 PointsI'm using Xcode v6.3
Benjamin Gomola
1,761 PointsHi All,
I am even more annoyed because when I try to control click instead of the little dragging animation the whole image moves for me. What am I doing wrong?
Riz Ainuddin
2,421 PointsI got it to work finally. It's either I have missed a step in the video to assigned the class identifier or by default the class was not assigned to the Artist board.
Antoine Delanglade
2,325 PointsI have the same kind of issue. When I open the assistant editor it automatically goes to the masterView. I change it manually to the playlist detail but then it won't let me create the outlet. It does let me create it in the master view though... Any ideas?
Antoine Delanglade
2,325 Pointsnever mind, that was fast I found the solution.
in the mainstoryboard carefully check your classes for each views. for some reasons I don't know mine were inverted, I changed it and now it works just fine.