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 trialshivam kaushik
2,037 PointsNot able to duplicate image view with control-drag.
Hello, i am not able to control-drag the image view to create a duplicate of it, like it's shown in the video. Did you mean option-drag?
3 Answers
Steve Hunter
57,712 PointsYes, the option-drag duplicates the item - the video does say control-drag repeatedly, though!
wwalton95
4,788 PointsIn Xcode 6.3.1, Option+Drag doesn't work to duplicate the item. Instead, you can hold down Command+D to duplicate the item, then drag it to the correct position.
Alternatively, you can go into the "Edit" menu and select "Duplicate"
John Stephanites
2,007 PointsYou know thats what I tried but it didn't work till I read this! WTF Lol! I was letting go of the mouse button to soon!
shivam kaushik
2,037 Pointsshivam kaushik
2,037 PointsThanks :)
arnavthecoder
3,453 Pointsarnavthecoder
3,453 PointsIt doesn't duplicate for me!
Carlos Pfister
1,970 PointsCarlos Pfister
1,970 PointsThanks for this. I spent a half hour trying to figure out what I was doing wrong and it was the teacher's mistake.
Steve Hunter
57,712 PointsSteve Hunter
57,712 PointsThey do an awful lot right so, every now and then, they're allowed to get something a little wrong, eh?! ;-)
colinwylie
4,220 Pointscolinwylie
4,220 PointsThis is no longer true past 6.3.1 :/
As Jason says, it mus be duplicated with CMD + D then dragged to position.