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 Playlist Browser with Swift Refactoring Our Code Adding Multiple Playlists

Not 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

Yes, the option-drag duplicates the item - the video does say control-drag repeatedly, though!

Thanks :)

It doesn't duplicate for me!

Carlos Pfister
Carlos Pfister
1,970 Points

Thanks for this. I spent a half hour trying to figure out what I was doing wrong and it was the teacher's mistake.

They do an awful lot right so, every now and then, they're allowed to get something a little wrong, eh?! ;-)

This is no longer true past 6.3.1 :/

As Jason says, it mus be duplicated with CMD + D then dragged to position.

In 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
John Stephanites
2,007 Points

You 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!